Parcourir la source

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

Harry de Boer il y a 6 ans
Parent
commit
9f88efbe35
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {
         this.errorCount++;
-        if (this.errorCount > 10) {
+        if (this.errorCount > 100) {
             this.location.disable();
             let l = document.getElementById("location");
             l.innerText = "Error!";