From 00b0d32d26ab220ab35c68ad1be00e371706cb7e Mon Sep 17 00:00:00 2001 From: Koala3353 Date: Thu, 11 Apr 2024 09:45:06 +0800 Subject: [PATCH] - Edited index.html - Fixes and changes --- assets/js/logincheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/logincheck.js b/assets/js/logincheck.js index 7b1c903..7d021a8 100644 --- a/assets/js/logincheck.js +++ b/assets/js/logincheck.js @@ -42,7 +42,7 @@ function checkLoginStatus() { } } -if(document.readyState !== 'loading') { +if(document.readyState === 'complete') { checkLoginStatus(); } else { window.addEventListener("DOMContentLoaded", checkLoginStatus);