Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +1 -2
templates/index.html
CHANGED
@@ -355,15 +355,14 @@
|
|
355 |
}
|
356 |
|
357 |
const img = new Image();
|
358 |
-
const infoText = document.getElementById("info-text");
|
359 |
img.onload = function() {
|
360 |
if (firstLoad) {
|
361 |
infoDiv.style.height = "0%";
|
362 |
}
|
363 |
firstLoad = false;
|
364 |
old = newUrl;
|
|
|
365 |
setTimeout(() => {
|
366 |
-
feed.src = this.src;
|
367 |
locationName.textContent = "{{ name|safe }}";
|
368 |
feed.style.width = "100%";
|
369 |
feed.style.height = "70%";
|
|
|
355 |
}
|
356 |
|
357 |
const img = new Image();
|
|
|
358 |
img.onload = function() {
|
359 |
if (firstLoad) {
|
360 |
infoDiv.style.height = "0%";
|
361 |
}
|
362 |
firstLoad = false;
|
363 |
old = newUrl;
|
364 |
+
feed.src = this.src;
|
365 |
setTimeout(() => {
|
|
|
366 |
locationName.textContent = "{{ name|safe }}";
|
367 |
feed.style.width = "100%";
|
368 |
feed.style.height = "70%";
|