Disallow the feed icon from the image zooming.
This commit is contained in:
parent
c1bb75f21e
commit
5e4ebb7298
|
@ -96,7 +96,7 @@ class ImageViewer {
|
||||||
|
|
||||||
// Add the click listener for images
|
// Add the click listener for images
|
||||||
window.onclick = function(event) {
|
window.onclick = function(event) {
|
||||||
if (event.target.matches("img")) {
|
if (event.target.matches("img") && event.target.id != "nnwImageIcon") {
|
||||||
if (activeImageViewer && activeImageViewer.img === event.target) {
|
if (activeImageViewer && activeImageViewer.img === event.target) {
|
||||||
cancelImageLoad();
|
cancelImageLoad();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue