BraydenMoore commited on
Commit
26e3a34
·
verified ·
1 Parent(s): e437729

Update templates/index.html

Browse files
Files changed (1) hide show
  1. 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%";