BraydenMoore commited on
Commit
ec094ea
·
verified ·
1 Parent(s): f1ea303

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -3
templates/index.html CHANGED
@@ -319,7 +319,7 @@
319
  feed.style.opacity = "0.5";
320
  const infoDiv = document.getElementById("info");
321
  const infoText = document.getElementById("info-text");
322
- infoText.style.opacity = "0";
323
 
324
  const countryElement = document.getElementById("country");
325
 
@@ -365,7 +365,7 @@
365
  feed.style.width = "100%";
366
  feed.style.height = "70%";
367
  feed.style.opacity = "1";
368
- infoDiv.style.opacity = "1";
369
  }, 100);
370
  const infoText = document.getElementById("info-text");
371
  infoText.style.opacity = "1";
@@ -380,7 +380,7 @@
380
  feed.style.height = "50px";
381
  feed.src = loadingGif;
382
  feed.style.opacity = "0.5";
383
- infoText.style.opacity = "0";
384
  locationName.textContent = "{{ page_title|safe }}";
385
  console.log("Image loading failed:", event);
386
 
 
319
  feed.style.opacity = "0.5";
320
  const infoDiv = document.getElementById("info");
321
  const infoText = document.getElementById("info-text");
322
+ infoText.style.height = "100%";
323
 
324
  const countryElement = document.getElementById("country");
325
 
 
365
  feed.style.width = "100%";
366
  feed.style.height = "70%";
367
  feed.style.opacity = "1";
368
+ infoDiv.style.height = "100%";
369
  }, 100);
370
  const infoText = document.getElementById("info-text");
371
  infoText.style.opacity = "1";
 
380
  feed.style.height = "50px";
381
  feed.src = loadingGif;
382
  feed.style.opacity = "0.5";
383
+ infoText.style.height = "0%";
384
  locationName.textContent = "{{ page_title|safe }}";
385
  console.log("Image loading failed:", event);
386