azri 11 miesięcy temu
rodzic
commit
843ca89d9a
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3
    1
      resources/js/app.js

+ 3
- 1
resources/js/app.js Wyświetl plik

185
         }
185
         }
186
     }
186
     }
187
 
187
 
188
-    console.log(loadedCount, totalImages);
188
+    //somehow the server work so fast, script doesn't have much time to set the load eventlistener
189
+    //thus we check here, to ensure checkAllImagesLoaded run
190
+    checkAllImagesLoaded()
189
 }
191
 }
190
 
192
 
191
 function reset() {
193
 function reset() {

Ładowanie…
Anuluj
Zapisz