Spaces:
Running
Running
Commit
·
4f48e80
1
Parent(s):
0703827
Update templates/index.html
Browse files- templates/index.html +3 -2
templates/index.html
CHANGED
@@ -316,7 +316,7 @@
|
|
316 |
const infoText = document.getElementById("info-text");
|
317 |
infoText.style.opacity = "1";
|
318 |
|
319 |
-
setTimeout(refreshImage,
|
320 |
country.textContent = "{{ country }}"
|
321 |
};
|
322 |
|
@@ -333,7 +333,8 @@
|
|
333 |
countryElement.textContent = "couldn't connect.";
|
334 |
}
|
335 |
else {
|
336 |
-
|
|
|
337 |
}
|
338 |
};
|
339 |
|
|
|
316 |
const infoText = document.getElementById("info-text");
|
317 |
infoText.style.opacity = "1";
|
318 |
|
319 |
+
setTimeout(refreshImage, 250);
|
320 |
country.textContent = "{{ country }}"
|
321 |
};
|
322 |
|
|
|
333 |
countryElement.textContent = "couldn't connect.";
|
334 |
}
|
335 |
else {
|
336 |
+
console.log("Trying again")
|
337 |
+
setTimeout(refreshImage, 250);
|
338 |
}
|
339 |
};
|
340 |
|