aboutsummaryrefslogtreecommitdiff
path: root/javascript/imageviewer.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/imageviewer.js')
-rw-r--r--javascript/imageviewer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/javascript/imageviewer.js b/javascript/imageviewer.js
index 3a0baac8..4c0e8f4b 100644
--- a/javascript/imageviewer.js
+++ b/javascript/imageviewer.js
@@ -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'