diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-30 19:07:28 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-30 19:07:28 -0400 |
| commit | 91bb3182da63e64d45ab8ac26735e090db928f15 (patch) | |
| tree | b68ad2c6deb32f7851b2d3b5c9f9811be869c6b2 /js/inline-expanding.js | |
| parent | 461084d400620c32ef262aab1f837573f47b0951 (diff) | |
⌘+click should open image in new tab
Diffstat (limited to 'js/inline-expanding.js')
| -rw-r--r-- | js/inline-expanding.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/inline-expanding.js b/js/inline-expanding.js index 06d3f76f..20383f04 100644 --- a/js/inline-expanding.js +++ b/js/inline-expanding.js @@ -21,7 +21,7 @@ onready(function(){ link[i].onclick = function(e) { if (this.childNodes[0].className == 'hidden') return false; - if (e.which == 2) + if (e.which == 2 || e.metaKey) return true; if (!this.dataset.src) { this.dataset.expanded = 'true'; |
