From 6abcebd0e42d464f46b6920820ad7e25ec7d57c2 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Mon, 4 Mar 2019 15:17:16 +0000 Subject: [PATCH] Skyview: finish up init properly if there's no history to load --- public_html/script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public_html/script.js b/public_html/script.js index ae98b09..ad372f1 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -389,6 +389,9 @@ function start_load_history() { for (var i = 0; i < PositionHistorySize; i++) { load_history_item(i); } + } else { + // Nothing to load + end_load_history(); } }