mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Moved dialogue related things to their own IIFE
Refactored all calls to showDialogue and closeDialogue to use the IIFE version
This commit is contained in:
@@ -13,7 +13,6 @@ var eyedropperPreview = document.getElementById("eyedropper-preview");
|
||||
var canvasView = document.getElementById("canvas-view");
|
||||
var colors = document.getElementsByClassName("color-button");
|
||||
var colorsMenu = document.getElementById("colors-menu");
|
||||
var popUpContainer = document.getElementById("pop-up-container");
|
||||
|
||||
// main canvas
|
||||
var canvas = document.getElementById('pixel-canvas');
|
||||
|
||||
Reference in New Issue
Block a user