|
@@ -1026,6 +1026,7 @@ function resetRewardProgress() {
|
|
|
* Initialize the application when DOM is loaded
|
|
* Initialize the application when DOM is loaded
|
|
|
*/
|
|
*/
|
|
|
document.addEventListener("DOMContentLoaded", async () => {
|
|
document.addEventListener("DOMContentLoaded", async () => {
|
|
|
|
|
+ hideGUI();
|
|
|
const isCacheValid = await checkCache();
|
|
const isCacheValid = await checkCache();
|
|
|
if (!isCacheValid) {
|
|
if (!isCacheValid) {
|
|
|
console.warn("Cache is invalid");
|
|
console.warn("Cache is invalid");
|
|
@@ -1034,7 +1035,6 @@ document.addEventListener("DOMContentLoaded", async () => {
|
|
|
createGlobalLoader();
|
|
createGlobalLoader();
|
|
|
// Uncomment these lines when ready to initialize the full app:
|
|
// Uncomment these lines when ready to initialize the full app:
|
|
|
initializeLoginModal();
|
|
initializeLoginModal();
|
|
|
- hideGUI();
|
|
|
|
|
// initializeApp();
|
|
// initializeApp();
|
|
|
});
|
|
});
|
|
|
|
|
|