about summary refs log tree commit diff
path: root/src/view/com/util/Link.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/util/Link.tsx')
-rw-r--r--src/view/com/util/Link.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/view/com/util/Link.tsx b/src/view/com/util/Link.tsx
index e47354428..f753f01cc 100644
--- a/src/view/com/util/Link.tsx
+++ b/src/view/com/util/Link.tsx
@@ -229,19 +229,14 @@ function onPressInner(
   } else if (
     !e.defaultPrevented && // onPress prevented default
     // @ts-ignore Web only -prf
-    !(e.metaKey || e.altKey || e.shiftKey) && // ignore clicks with modifier keys
+    !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && // ignore clicks with modifier keys
     // @ts-ignore Web only -prf
     (e.button == null || e.button === 0) && // ignore everything but left clicks
     // @ts-ignore Web only -prf
     [undefined, null, '', 'self'].includes(e.currentTarget?.target) // let browser handle "target=_blank" etc.
   ) {
     e.preventDefault()
-    if (e.ctrlKey && Platform.OS === 'web') {
-      shouldHandle = false
-      window.open(href, '_blank')
-    } else {
-      shouldHandle = true
-    }
+    shouldHandle = true
   }
 
   if (shouldHandle) {