update login.js

This commit is contained in:
naielv
2025-08-11 15:35:07 +02:00
parent 31007d6979
commit cbd5351981

View File

@@ -39,7 +39,7 @@ PAGES.login = {
SUB_LOGGED_IN_DETAILS = SC_Personas[SUB_LOGGED_IN_ID]
SUB_LOGGED_IN = true
if (!location.hash.replace("#", "").startsWith("login")) {
oppen_page("index");
open_page("index");
setUrlHash("index")
} else{
open_page(location.hash.replace("#", ""));