summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-11-30 09:00:08 +0100
committerByron Jones <glob@mozilla.com>2015-11-30 09:00:08 +0100
commitc36506a266b3316d3a893297ab57b4cdceef19a5 (patch)
tree2249fe166a7110ac0ff0413aeb46b9fb87762f89 /extensions
parent36283093128fc1f32d3562418f00c2763269cb11 (diff)
downloadbugzilla-c36506a266b3316d3a893297ab57b4cdceef19a5.tar.gz
bugzilla-c36506a266b3316d3a893297ab57b4cdceef19a5.tar.xz
Bug 1217890 - Ctrl+Click/Shift+Click on image attachments does not open them in new tabs, with bugzilla's experimental UI
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/web/bug_modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index fc6e12bc8..2a9c3d901 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -301,7 +301,7 @@ $(function() {
// lightboxes
$('.lightbox, .comment-text .lightbox + span:first-of-type a:first-of-type')
.click(function(event) {
- if (event.metaKey)
+ if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey)
return;
event.preventDefault();
lb_show(this);