aboutsummaryrefslogtreecommitdiffstats
path: root/javascript/contextMenus.js
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-18 06:59:10 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-18 06:59:10 +0000
commit57b75f4a037658c1122aa092d1775ac52036b2cf (patch)
tree078c8fdc85a6754d3799e62ab6a2ed77614b67f3 /javascript/contextMenus.js
parentf88169a9e74066892221b6c8c74c85afb7c1fe57 (diff)
downloadstable-diffusion-webui-gfx803-57b75f4a037658c1122aa092d1775ac52036b2cf.tar.gz
stable-diffusion-webui-gfx803-57b75f4a037658c1122aa092d1775ac52036b2cf.tar.bz2
stable-diffusion-webui-gfx803-57b75f4a037658c1122aa092d1775ac52036b2cf.zip
eslint related file edits
Diffstat (limited to 'javascript/contextMenus.js')
-rw-r--r--javascript/contextMenus.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/javascript/contextMenus.js b/javascript/contextMenus.js
index f7a15cae..f14af1d4 100644
--- a/javascript/contextMenus.js
+++ b/javascript/contextMenus.js
@@ -1,5 +1,5 @@
-contextMenuInit = function() {
+var contextMenuInit = function() {
let eventListenerApplied = false;
let menuSpecs = new Map();
@@ -126,10 +126,10 @@ contextMenuInit = function() {
return [appendContextMenuOption, removeContextMenuOption, addContextMenuEventListener];
};
-initResponse = contextMenuInit();
-appendContextMenuOption = initResponse[0];
-removeContextMenuOption = initResponse[1];
-addContextMenuEventListener = initResponse[2];
+var initResponse = contextMenuInit();
+var appendContextMenuOption = initResponse[0];
+var removeContextMenuOption = initResponse[1];
+var addContextMenuEventListener = initResponse[2];
(function() {
//Start example Context Menu Items