FIX: an <a> with a target of _blank wants a new window
This commit is contained in:
parent
49e7073438
commit
246997dbd9
@ -6,7 +6,8 @@ export function wantsNewWindow(e) {
|
||||
e.shiftKey ||
|
||||
e.metaKey ||
|
||||
e.ctrlKey ||
|
||||
(e.button && e.button !== 0)
|
||||
(e.button && e.button !== 0) ||
|
||||
(e.target && e.target.target === "_blank")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user