From 9d4ae1824d7231b7850b657b9344cffa4b516659 Mon Sep 17 00:00:00 2001 From: Jesse Hasty <134172009+JesseWx2011@users.noreply.github.com> Date: Thu, 4 Jul 2024 09:47:50 -0400 Subject: [PATCH] Update scriptcc.js --- js/scriptcc.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/scriptcc.js b/js/scriptcc.js index 84619ad..1f93742 100644 --- a/js/scriptcc.js +++ b/js/scriptcc.js @@ -47,7 +47,8 @@ tempC = response[0].perioFds[0].tempC document.getElementById("radarimage").innerHTML = `` document.getElementById("windgust").innerHTML = `Gusts to ${response[0].periods[0].windGustMPH} mph` - + document.getElementById("LoadingScreen").style.display = "none" + document.getElementById("weatherpage").style.display = "block" // Twitter Card // Function to get the UV Value @@ -90,9 +91,6 @@ tempC = response[0].perioFds[0].tempC visibility() // Just get city name if it is set to :auto - - document.getElementById("LoadingScreen").style.display = "none" - document.getElementById("weatherpage").style.display = "block" function correctcity() { if (city === `:auto`) {