Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +4 -4
templates/index.html
CHANGED
@@ -362,11 +362,12 @@
|
|
362 |
firstLoad = false;
|
363 |
old = newUrl;
|
364 |
feed.src = this.src;
|
365 |
-
|
366 |
-
|
367 |
const pixelWidth = this.naturalWidth;
|
368 |
const pixelHeight = this.naturalHeight;
|
369 |
-
|
|
|
|
|
370 |
setTimeout(() => {
|
371 |
locationName.textContent = "{{ name|safe }}";
|
372 |
feed.style.width = pixelWidth * 0.7 + "px";
|
@@ -374,7 +375,6 @@
|
|
374 |
feed.style.opacity = "1";
|
375 |
infoDiv.style.height = "100%";
|
376 |
infoText.style.opacity = "1";
|
377 |
-
country.textContent = "{{ country }}";
|
378 |
}, 100);
|
379 |
|
380 |
setTimeout(refreshImage, 500);
|
|
|
362 |
firstLoad = false;
|
363 |
old = newUrl;
|
364 |
feed.src = this.src;
|
365 |
+
|
|
|
366 |
const pixelWidth = this.naturalWidth;
|
367 |
const pixelHeight = this.naturalHeight;
|
368 |
+
|
369 |
+
country.textContent = "{{ country }}";
|
370 |
+
|
371 |
setTimeout(() => {
|
372 |
locationName.textContent = "{{ name|safe }}";
|
373 |
feed.style.width = pixelWidth * 0.7 + "px";
|
|
|
375 |
feed.style.opacity = "1";
|
376 |
infoDiv.style.height = "100%";
|
377 |
infoText.style.opacity = "1";
|
|
|
378 |
}, 100);
|
379 |
|
380 |
setTimeout(refreshImage, 500);
|