From d2bee8d4325869574914aa823fc7008a932a25c5 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 20 Dec 2022 15:45:43 -0800 Subject: [PATCH] try window.assign --- scripts/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.js b/scripts/utils.js index 645dc78..a9bab8c 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -80,7 +80,7 @@ export function goToPage (page, data={}) { for(let k in data) { url.searchParams.append(k, data[k]); } - window.location.href = url.toString(); + window.location.assign(url.toString()); } export function getURIData () {