mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-14 20:39:03 +00:00
Fix cmd+click for new tab (#2835)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
78248b84f3
commit
7333e9fce7
@ -29,6 +29,7 @@
|
||||
e.stopPropagation()
|
||||
onClick(e)
|
||||
} else if (href !== undefined) {
|
||||
if (e.metaKey || e.ctrlKey) return
|
||||
try {
|
||||
const url = new URL(href)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user