BraydenMoore commited on
Commit
9c3cc5f
·
1 Parent(s): a334dad

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -1
templates/index.html CHANGED
@@ -319,7 +319,9 @@
319
  setTimeout(refreshImage, 250);
320
  country.textContent = "{{ country }}"
321
  };
322
-
 
 
323
  img.onerror = function() {
324
  feed.style.width = "80px";
325
  feed.style.height = "50px";
 
319
  setTimeout(refreshImage, 250);
320
  country.textContent = "{{ country }}"
321
  };
322
+
323
+ let retryCount = 0;
324
+ const maxRetries = 3;
325
  img.onerror = function() {
326
  feed.style.width = "80px";
327
  feed.style.height = "50px";