Browse Source

Passes the asset that fail to load to postLoadErrorHandler.

master
damencho 7 years ago
parent
commit
ad7728a599
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      index.html

+ 1
- 1
index.html View File

119
 
119
 
120
                     // Call extra handler if defined.
120
                     // Call extra handler if defined.
121
                     if (typeof postLoadErrorHandler === "function") {
121
                     if (typeof postLoadErrorHandler === "function") {
122
-                        postLoadErrorHandler();
122
+                        postLoadErrorHandler(fileRef);
123
                     }
123
                     }
124
                 };
124
                 };
125
                 window.removeEventListener(
125
                 window.removeEventListener(

Loading…
Cancel
Save