Skip to content

Commit

Permalink
FileLoader: Add response headers to progress callback
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyvanDortmont committed Apr 13, 2022
1 parent 34dbd31 commit a51e015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/FileLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class FileLoader extends Loader {
for ( let i = 0, il = callbacks.length; i < il; i ++ ) {

const callback = callbacks[ i ];
if ( callback.onProgress ) callback.onProgress( event );
if ( callback.onProgress ) callback.onProgress( event, response.headers );

}

Expand Down

0 comments on commit a51e015

Please sign in to comment.