BraydenMoore commited on
Commit
5f2db51
1 Parent(s): dafec20

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +6 -1
templates/index.html CHANGED
@@ -322,7 +322,12 @@
322
  locationName.textContent = "{{ page_title|safe }}";
323
 
324
  if (isJpeg) {
325
- setTimeout(refreshImage, 250);
 
 
 
 
 
326
  }
327
 
328
  feed.onload = function() {
 
322
  locationName.textContent = "{{ page_title|safe }}";
323
 
324
  if (isJpeg) {
325
+ setTimeout(async () => {
326
+ await refreshImage();
327
+ }, 250);
328
+ }
329
+ else {
330
+ await refreshImage();
331
  }
332
 
333
  feed.onload = function() {