浏览代码

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

正在加载...
取消
保存