From c36506a266b3316d3a893297ab57b4cdceef19a5 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 30 Nov 2015 16:00:08 +0800 Subject: Bug 1217890 - Ctrl+Click/Shift+Click on image attachments does not open them in new tabs, with bugzilla's experimental UI --- extensions/BugModal/web/bug_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-24-g4f1b