Selaa lähdekoodia

Fixes issue surrounding ajax calls

Andrew Chalkley 9 vuotta sitten
vanhempi
commit
a6efd9110a
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      front-end/js/app.js

+ 2 - 2
front-end/js/app.js

@@ -154,8 +154,8 @@ function getManifests() {
         fetch(CONSTANTS.manifestList)
             .then(processJSON)
             .then(generateManifestList).catch(error => {
-                setTimeout(getManifests, pollTime);
-            });
+                setTimeout(getManifests, CONSTANTS.pollTime);
+            });S
     });
 }