Skip to content
Snippets Groups Projects
Commit ff89365e authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Issue #2395585 by Елин Й.: Exclude if middle mouse button clicked, it is equivalent to Ctrl+Click

parent 65decc25
Branches
Tags
1 merge request!2Issue #3342445: jQuery .live() is deprecated
......@@ -27,8 +27,8 @@
$(this)
.click(
function (eventObject) {
// Nicht bei Öffnen in neuem Tab (Strg+Klick)
if (!eventObject.ctrlKey) {
// Not if Tab or any other CTRL click
if (!eventObject.ctrlKey && eventObject.button != 1) {
Drupal.behaviors.jquery_loadinganimation.Loadinganimation
.show();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment