1
0
Эх сурвалжийг харах

Fixes issue surrounding ajax calls

Andrew Chalkley 9 жил өмнө
parent
commit
a6efd9110a
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  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
     });
 }