From 67b8d2d89a2c56b5b2524a62b02a3bb1b72c667e Mon Sep 17 00:00:00 2001 From: Martii Date: Tue, 4 Apr 2017 19:01:25 -0600 Subject: [PATCH] Post Opera Presto fix * Scoot preventing default to a later time... conditionally logic'd better Applies to #904 and #1062 --- views/includes/scripts/tableTrLinkScript.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/views/includes/scripts/tableTrLinkScript.html b/views/includes/scripts/tableTrLinkScript.html index c84f19219..27318eb28 100644 --- a/views/includes/scripts/tableTrLinkScript.html +++ b/views/includes/scripts/tableTrLinkScript.html @@ -5,8 +5,6 @@ var anchor = null; var url = null; - aEv.preventDefault(); - // Traverse up the DOM to find the container tr tag while (!container.classList.contains('tr-link')) { if (!(container = container.parentNode)) { @@ -26,8 +24,9 @@ return; } - // Stop propagation as soon as possible + // Stop everything as soon as possible aEv.stopPropagation(); + aEv.preventDefault(); // Redirect to the anchor href if ((aEv.ctrlKey || aEv.metaKey) && aEv.shiftKey) {