From e5cd2bed875869a163e9343d585efd22a60eca8f Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 1 May 2024 17:19:53 +0100 Subject: [PATCH] chore: Clarify usage of window fields in globals.js /puter/src/globals.js 124:65 error 'first_visit_animation' is not defined no-undef --- src/globals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals.js b/src/globals.js index 3860f921..0effd52c 100644 --- a/src/globals.js +++ b/src/globals.js @@ -121,7 +121,7 @@ window.first_visit_animation = false; window.show_twitter_link = true; window.animate_window_opening = true; window.animate_window_closing = true; -window.desktop_loading_fade_delay = (window.first_visit_ever && first_visit_animation ? 6000 : 1000); +window.desktop_loading_fade_delay = (window.first_visit_ever && window.first_visit_animation ? 6000 : 1000); window.watchItems = []; window.appdata_signatures = {}; window.appCallbackFunctions = [];