Commit 32e428ff authored by guaneec's avatar guaneec Committed by AUTOMATIC1111

Remove duplicate event listeners

parent 772db721
......@@ -86,6 +86,9 @@ function showGalleryImage(){
if(fullImg_preview != null){
fullImg_preview.forEach(function function_name(e) {
if (e.dataset.modded)
return;
e.dataset.modded = true;
if(e && e.parentElement.tagName == 'DIV'){
e.style.cursor='pointer'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment