mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-29 03:34:31 +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()
|
e.stopPropagation()
|
||||||
onClick(e)
|
onClick(e)
|
||||||
} else if (href !== undefined) {
|
} else if (href !== undefined) {
|
||||||
|
if (e.metaKey || e.ctrlKey) return
|
||||||
try {
|
try {
|
||||||
const url = new URL(href)
|
const url = new URL(href)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user