Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Update scriptcc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseWx2011 authored Jul 4, 2024
1 parent 6aa2f12 commit 9d4ae18
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/scriptcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ tempC = response[0].perioFds[0].tempC
document.getElementById("radarimage").innerHTML = `<img style="width: 617px;" src="https://maps.aerisapi.com/${client_id}_${client_secret}/flat-dk,water-depth,satellite,radar,alerts-warnings-outlines,counties,lightning-strikes-15m-icons,roads,interstates,rivers,admin-cities-dk/1280x878/${city},9/current.png"/>`
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
Expand Down Expand Up @@ -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`) {
Expand Down

0 comments on commit 9d4ae18

Please sign in to comment.