Explorar o código

Fixes issue surrounding ajax calls

Andrew Chalkley %!s(int64=9) %!d(string=hai) anos
pai
achega
a6efd9110a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
     });
 }