Passes the asset that fail to load to postLoadErrorHandler.
This commit is contained in:
parent
5c7b7cd625
commit
ad7728a599
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
// Call extra handler if defined.
|
// Call extra handler if defined.
|
||||||
if (typeof postLoadErrorHandler === "function") {
|
if (typeof postLoadErrorHandler === "function") {
|
||||||
postLoadErrorHandler();
|
postLoadErrorHandler(fileRef);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
window.removeEventListener(
|
window.removeEventListener(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user