mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed mode switching, started SplashPage IIFE
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
*/
|
||||
const Dialogue = (() => {
|
||||
let currentOpenDialogue = "";
|
||||
let dialogueOpen = true;
|
||||
|
||||
const popUpContainer = document.getElementById("pop-up-container");
|
||||
const cancelButtons = popUpContainer.getElementsByClassName('close-button');
|
||||
|
||||
@@ -68,9 +70,14 @@ const Dialogue = (() => {
|
||||
}
|
||||
}
|
||||
|
||||
function isOpen() {
|
||||
return dialogueOpen;
|
||||
}
|
||||
|
||||
return {
|
||||
showDialogue,
|
||||
closeDialogue
|
||||
closeDialogue,
|
||||
isOpen
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user