瀏覽代碼

fixing

master
azri 1 年之前
父節點
當前提交
843ca89d9a
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      resources/js/app.js

+ 3
- 1
resources/js/app.js 查看文件

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…
取消
儲存