From c2f0a0f31020f5fe4d1386544b9b5be50aa2bb2c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 7 May 2023 14:52:10 -0700 Subject: [PATCH] request the first routes after one second Again, aiming for a more responsive look and feel. Signed-off-by: Dirk Hohndel --- html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/script.js b/html/script.js index 475ab13..c1e93e3 100644 --- a/html/script.js +++ b/html/script.js @@ -9,7 +9,7 @@ g.planes = {}; g.planesOrdered = []; g.route_cache = []; g.route_check_array = []; -g.route_cache_timer = new Date().getTime() / 1000 + 5; // 5 seconds from now +g.route_cache_timer = new Date().getTime() / 1000 + 1; // one second from now // Define our global variables let tabHidden = false;