Преглед изворни кода

Retries bij error omhoog, deze is te laag bij aanmelden wifi

Harry de Boer пре 6 година
родитељ
комит
9f88efbe35
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/resources/static/main.js

+ 1 - 1
src/main/resources/static/main.js

@@ -63,7 +63,7 @@ class Puzzeltocht {
 
 
     onError(e) {
     onError(e) {
         this.errorCount++;
         this.errorCount++;
-        if (this.errorCount > 10) {
+        if (this.errorCount > 100) {
             this.location.disable();
             this.location.disable();
             let l = document.getElementById("location");
             let l = document.getElementById("location");
             l.innerText = "Error!";
             l.innerText = "Error!";