We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2234af commit b9d978eCopy full SHA for b9d978e
js/zoom.js
@@ -21,7 +21,11 @@
21
ZoomService.prototype._zoom = function (e) {
22
var target = e.target
23
24
- if (!target || target.tagName != 'IMG' || (target.width >= (window.innerWidth - Zoom.OFFSET))) return
+ if (!target || target.tagName != 'IMG') return
25
+
26
+ if (e.metaKey) return window.open(e.target.src, '_blank')
27
28
+ if (target.width >= (window.innerWidth - Zoom.OFFSET)) return
29
30
this._activeZoomClose(true)
31
0 commit comments