Skip to content

Commit 810a8e7

Browse files
authored
Play nice with Mac desktop keyboard modifiers (#1072)
Applies to #904 and #1062 Auto-merge
1 parent 760d4fd commit 810a8e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/includes/scripts/tableTrLinkScript.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
aEv.stopPropagation();
2929

3030
// Redirect to the anchor href
31-
if (aEv.ctrlKey && aEv.shiftKey) {
31+
if ((aEv.ctrlKey || aEv.metaKey) && aEv.shiftKey) {
3232
window.open(url, '_blank').focus();
3333
return;
3434
}
3535

36-
if (aEv.ctrlKey) {
36+
if (aEv.ctrlKey || aEv.metaKey) {
3737
window.open(url, '_blank').blur();
3838
return;
3939
}

0 commit comments

Comments
 (0)