BraydenMoore commited on
Commit
fd765b2
·
1 Parent(s): 5b87892

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -278,6 +278,7 @@
278
  infoText.style.opacity = "0";
279
 
280
  const locationName = document.getElementById('location-name');
 
281
  locationName.textContent = "{{ page_title|safe }}";
282
 
283
  const newUrl = decodeURIComponent("{{ url|safe }}");
@@ -323,7 +324,6 @@
323
  img.onerror = function() {
324
  console.error('Error loading image', this.src);
325
  const urlParams = new URLSearchParams(window.location.search);
326
- const countryElement = document.getElementById("country");
327
 
328
  if (urlParams.get('id')) {
329
  firstLoad = false;
 
278
  infoText.style.opacity = "0";
279
 
280
  const locationName = document.getElementById('location-name');
281
+ const countryElement = document.getElementById("country");
282
  locationName.textContent = "{{ page_title|safe }}";
283
 
284
  const newUrl = decodeURIComponent("{{ url|safe }}");
 
324
  img.onerror = function() {
325
  console.error('Error loading image', this.src);
326
  const urlParams = new URLSearchParams(window.location.search);
 
327
 
328
  if (urlParams.get('id')) {
329
  firstLoad = false;