Spaces:
Running
Running
Commit
·
8ea01b2
1
Parent(s):
a0daf23
Update templates/index.html
Browse files- templates/index.html +3 -1
templates/index.html
CHANGED
@@ -296,7 +296,9 @@
|
|
296 |
if (xhr.readyState === 4 && xhr.status === 200) {
|
297 |
if (xhr.getResponseHeader('Content-Type') === 'image/jpeg') {
|
298 |
img.src = newUrl + "?r=" + new Date().getTime();
|
299 |
-
|
|
|
|
|
300 |
isJpeg = true;
|
301 |
contentTypeChecked = true;
|
302 |
}
|
|
|
296 |
if (xhr.readyState === 4 && xhr.status === 200) {
|
297 |
if (xhr.getResponseHeader('Content-Type') === 'image/jpeg') {
|
298 |
img.src = newUrl + "?r=" + new Date().getTime();
|
299 |
+
if (firstLoad){
|
300 |
+
countryElement.textContent = "connecting...";
|
301 |
+
}
|
302 |
isJpeg = true;
|
303 |
contentTypeChecked = true;
|
304 |
}
|