Просмотр исходного кода

Fixes issue surrounding ajax calls

Andrew Chalkley 9 лет назад
Родитель
Сommit
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
     });
 }