Removed global documentCreated

This commit is contained in:
unsettledgames
2021-07-23 19:05:33 +02:00
parent 404b1c56c1
commit da7ae65ead
8 changed files with 17 additions and 16 deletions

View File

@@ -42,7 +42,7 @@ const Dialogue = (() => {
document.getElementById(dialogueName).style.display = 'block';
// If I'm opening the palette window, I initialize the colour picker
if (dialogueName == 'palette-block' && documentCreated) {
if (dialogueName == 'palette-block' && Startup.documentCreated()) {
cpInit();
pbInit();
}