diff --git a/iOS/Resources/main_ios.js b/iOS/Resources/main_ios.js index 986d0a77e..a3dba0b9a 100644 --- a/iOS/Resources/main_ios.js +++ b/iOS/Resources/main_ios.js @@ -96,7 +96,7 @@ class ImageViewer { // Add the click listener for images window.onclick = function(event) { - if (event.target.matches("img")) { + if (event.target.matches("img") && event.target.id != "nnwImageIcon") { if (activeImageViewer && activeImageViewer.img === event.target) { cancelImageLoad(); } else {