Skip to content

Commit 1f4ed64

Browse files
committed
revert globalThis.location.href to window.location.href
1 parent 89505d4 commit 1f4ed64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ export default function Events(
419419
const handler = (e: Event): void => {
420420
const timeoutHandler = function(): void {
421421
if (element.href) {
422-
globalThis.location.href = element.href;
422+
window.location.href = element.href;
423423
} else if (element.submit) {
424424
element.submit();
425425
}

0 commit comments

Comments
 (0)