BraydenMoore commited on
Commit
99e5bc8
1 Parent(s): 0e2f38b

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +0 -2
templates/index.html CHANGED
@@ -282,7 +282,6 @@
282
 
283
  const urlParams = new URLSearchParams(window.location.search);
284
  if (urlParams.get('id')) {
285
- firstLoad = false;
286
  feed.style.width = "80px";
287
  feed.style.height = "50px";
288
  feed.src = loadingGif;
@@ -291,7 +290,6 @@
291
  } else if (firstLoad) {
292
  window.location.href = "?new=true";
293
  } else {
294
- firstLoad = false;
295
  console.log("Trying again");
296
  setTimeout(refreshImage, 250);
297
  }
 
282
 
283
  const urlParams = new URLSearchParams(window.location.search);
284
  if (urlParams.get('id')) {
 
285
  feed.style.width = "80px";
286
  feed.style.height = "50px";
287
  feed.src = loadingGif;
 
290
  } else if (firstLoad) {
291
  window.location.href = "?new=true";
292
  } else {
 
293
  console.log("Trying again");
294
  setTimeout(refreshImage, 250);
295
  }