]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1217890 - Ctrl+Click/Shift+Click on image attachments does not open them in new...
authorByron Jones <glob@mozilla.com>
Mon, 30 Nov 2015 08:00:08 +0000 (16:00 +0800)
committerByron Jones <glob@mozilla.com>
Mon, 30 Nov 2015 08:00:08 +0000 (16:00 +0800)
extensions/BugModal/web/bug_modal.js

index fc6e12bc860a01acf9133036d764c9e99b8a4d42..2a9c3d90175b5968d5731a8280750cd3fbf27130 100644 (file)
@@ -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);