aboutsummaryrefslogtreecommitdiffstats
path: root/javascript/contextMenus.js
diff options
context:
space:
mode:
authoryfszzx <yfszzx@gmail.com>2022-10-14 03:51:26 +0000
committeryfszzx <yfszzx@gmail.com>2022-10-14 03:51:26 +0000
commitd48f3470c8a86f22dce106e7d3c1803e5ba92085 (patch)
tree2526ceaffa0177b40cecc30854f66a524cf6ac71 /javascript/contextMenus.js
parent4a37c7eedeab579efec03e8dae3f3f9fd4a37b02 (diff)
parent7c8903367c350e7e3ba8f90679890566446f36b2 (diff)
downloadstable-diffusion-webui-gfx803-d48f3470c8a86f22dce106e7d3c1803e5ba92085.tar.gz
stable-diffusion-webui-gfx803-d48f3470c8a86f22dce106e7d3c1803e5ba92085.tar.bz2
stable-diffusion-webui-gfx803-d48f3470c8a86f22dce106e7d3c1803e5ba92085.zip
Merge branch 'master' of https://github.com/yfszzx/stable-diffusion-webui-plus
Diffstat (limited to 'javascript/contextMenus.js')
-rw-r--r--javascript/contextMenus.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/contextMenus.js b/javascript/contextMenus.js
index 7636c4b3..fe67c42e 100644
--- a/javascript/contextMenus.js
+++ b/javascript/contextMenus.js
@@ -94,7 +94,7 @@ contextMenuInit = function(){
}
gradioApp().addEventListener("click", function(e) {
let source = e.composedPath()[0]
- if(source.id && source.indexOf('check_progress')>-1){
+ if(source.id && source.id.indexOf('check_progress')>-1){
return
}