Skip to content

Commit

Permalink
Minor fix for canceled handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lannymcnie committed May 22, 2018
1 parent c4c7522 commit abbc98b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/preloadjs/loaders/AbstractLoader.js
Expand Up @@ -508,10 +508,7 @@ this.createjs = this.createjs || {};
* @protected
*/
p._isCanceled = function () {
if (window.createjs == null || this.canceled) {
return true;
}
return false;
return this.canceled;
};

/**
Expand Down

0 comments on commit abbc98b

Please sign in to comment.