From b85e553d9ab7a8a08b0afe33f8bb13406dc498ae Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Tue, 20 Apr 2021 21:23:36 +0200 Subject: [PATCH] fix photo sticking from last aircraft --- html/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/html/script.js b/html/script.js index 11f9cfb..d7062d1 100644 --- a/html/script.js +++ b/html/script.js @@ -2183,6 +2183,7 @@ function refreshPhoto(selected) { let urlTail; let param; if (!selected.regLoaded) { + displaySil(); return; } else if (selected.registration != null && selected.registration.length <= 4 && selected.registration.match(/^[0-9]*$/)) { displaySil();