Skip to content

Commit 711ce18

Browse files
committed
Merge pull request #13 from tjisousa/master
Fix for issue #10
2 parents adfea2f + 2110b40 commit 711ce18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/zoom.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
if (!target || target.tagName != 'IMG') return
2525

26+
if (this._$body.hasClass('zoom-overlay-open')) return
27+
2628
if (e.metaKey) return window.open(e.target.src, '_blank')
2729

2830
if (target.width >= (window.innerWidth - Zoom.OFFSET)) return

0 commit comments

Comments
 (0)