FIX: Typu in intercept-click (#13889)

This commit is contained in:
Mark VanLandingham 2021-07-29 15:15:10 -05:00 committed by GitHub
parent 91456ad2cb
commit c51b39302c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import DiscourseURL from "discourse/lib/url";
export function wantsNewWindow(e) {
return (
e.defaultPrevented ||
(e.isDefaultPrevernted && e.isDefaultPrevented()) ||
(e.isDefaultPrevented && e.isDefaultPrevented()) ||
e.shiftKey ||
e.metaKey ||
e.ctrlKey ||