From a856c355fa9bad8bb66195e61c9c82c9aaf93e3b Mon Sep 17 00:00:00 2001 From: quantumbagel Date: Fri, 1 Mar 2024 12:58:54 -0500 Subject: [PATCH] fixed redirect.js --- assets/js/redirect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/redirect.js b/assets/js/redirect.js index 2c508e7d34..d705dd2797 100644 --- a/assets/js/redirect.js +++ b/assets/js/redirect.js @@ -1,3 +1,3 @@ -if (document.URL !== document.URL.toLowerCase()) { - document.URL = document.URL.toLowerCase(); +if (location.href !== document.URL.toLowerCase()) { + location.href = document.URL.toLowerCase(); } \ No newline at end of file