Browse Source

fixing

master
azri 3 months ago
parent
commit
100cfd3a9c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      resources/js/app.js

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

@@ -157,6 +157,8 @@ function imageLoading() {
157 157
     let loadedCount = 0;
158 158
     const totalImages = images.length;
159 159
 
160
+    console.log(totalImages)
161
+
160 162
     images.forEach(image => {
161 163
         if (image.complete) {
162 164
             loadedCount++;
@@ -173,7 +175,7 @@ function imageLoading() {
173 175
     });
174 176
 
175 177
     function checkAllImagesLoaded() {
176
-        debugger
178
+        console.log(loadedCount)
177 179
         if (loadedCount === totalImages) {
178 180
             let loading = document.getElementById("loading");
179 181
             loading.remove();

Loading…
Cancel
Save