From 96900cfd6ff365252df4275c37e86f760c3d92a9 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Thu, 28 Sep 2023 14:32:04 -0400 Subject: [PATCH] Use location href --- app/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/index.html b/app/index.html index b6a97c6a2..bfeb2d9a1 100644 --- a/app/index.html +++ b/app/index.html @@ -134,10 +134,9 @@

{{appTitle}}

} document.addEventListener('click', function (event) { - event.preventDefault(); if (event.target.tagName == 'A' && event.target.href) { - window.history.pushState({}, '', window.location.toString()); - window.location.replace(event.target.href); + event.preventDefault(); + window.location.href = event.target.href; } });