Skip to content

Commit 94bc803

Browse files
authored
Post Opera Presto fix (#1074)
* Scoot preventing default to a later time... conditionally logic'd better Applies to #904 and #1062
1 parent e5a4a8e commit 94bc803

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

views/includes/scripts/tableTrLinkScript.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
var anchor = null;
66
var url = null;
77

8-
aEv.preventDefault();
9-
108
// Traverse up the DOM to find the container tr tag
119
while (!container.classList.contains('tr-link')) {
1210
if (!(container = container.parentNode)) {
@@ -26,8 +24,9 @@
2624
return;
2725
}
2826

29-
// Stop propagation as soon as possible
27+
// Stop everything as soon as possible
3028
aEv.stopPropagation();
29+
aEv.preventDefault();
3130

3231
// Redirect to the anchor href
3332
if ((aEv.ctrlKey || aEv.metaKey) && aEv.shiftKey) {

0 commit comments

Comments
 (0)