Browse Source

fixing

master
azri 4 months ago
parent
commit
843ca89d9a
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      resources/js/app.js

+ 3
- 1
resources/js/app.js View File

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() {

Loading…
Cancel
Save