rmap
rmap copied to clipboard
server: amatyr webcam
Webcam is not present and we get:
TypeError: imgElem is null
newImg.src = imgElem.src.split("?")[0] + "?" + new Date().getTime();
amatyr.js (linea 744, col 6)
ReferenceError: current_weather is not defined
for(key in current_weather.current) {
amatyr.js (riga 493)
Gli errori segnalati da @pat1 sono legati ai task che si ripetono ogni 30/60 secondi. Auto update webcam
TypeError: imgElem is null
esce perché manca nell'HTML un tag con id="webcam" in cui andare a inserire l'immagine della webcam.
Fetch current weather with 1 minute interval
ReferenceError: current_weather is not defined
esce perché la variabile current_weather non è ancora stata inizializzata nel punto in cui viene chiamata.