Update app.js
This commit is contained in:
parent
51ecd370cb
commit
b501206008
@ -1618,7 +1618,6 @@ function showDiv() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function showDivTwo() {
|
function showDivTwo() {
|
||||||
document.getElementById('wifi-message').style.display = "block";
|
document.getElementById('wifi-message').style.display = "block";
|
||||||
|
|
||||||
@ -1626,3 +1625,25 @@ function showDivTwo() {
|
|||||||
document.getElementById('wifi-message').style.display = "none";
|
document.getElementById('wifi-message').style.display = "none";
|
||||||
}, 30000);
|
}, 30000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Display message asking for restart of ticker when new API key added for weather
|
||||||
|
|
||||||
|
function showWeatherP() {
|
||||||
|
if(document.getElementById("api-key1").value==="") {
|
||||||
|
|
||||||
|
document.getElementById('weather-api-p').style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (document.getElementById("api-key1").value==="Weather API Key") {
|
||||||
|
document.getElementById('weather-api-p').style.display = "none";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
else {
|
||||||
|
document.getElementById('weather-api-p').style.display = "block"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user