fix: visibility
This commit is contained in:
parent
e15e6374fe
commit
da610f3c81
@ -12,8 +12,8 @@ if (!startPage || !templatePage) {
|
|||||||
const patches = DATA?.[input.value];
|
const patches = DATA?.[input.value];
|
||||||
|
|
||||||
if (!patches) return alert('Bad access code!');
|
if (!patches) return alert('Bad access code!');
|
||||||
await fadeBlock()
|
applyPatches(patches);
|
||||||
applyPatches(patches)
|
await fadeBlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
function applyPatches(patches) {
|
function applyPatches(patches) {
|
||||||
@ -33,6 +33,7 @@ if (!startPage || !templatePage) {
|
|||||||
await wait(0.2);
|
await wait(0.2);
|
||||||
startPage.style.display = 'none';
|
startPage.style.display = 'none';
|
||||||
await wait(0.2);
|
await wait(0.2);
|
||||||
|
templatePage.style.display = 'block';
|
||||||
templatePage.style.opacity = 1;
|
templatePage.style.opacity = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user