diff --git a/src/loader/File.js b/src/loader/File.js index 2fb34162d..ff8ff4c70 100644 --- a/src/loader/File.js +++ b/src/loader/File.js @@ -94,7 +94,7 @@ var File = new Class({ { this.url = loader.path + loadKey + '.' + GetFastValue(fileConfig, 'extension', ''); } - else if (typeof(this.url) !== 'function' && this.url.indexOf('blob:') !== 0 && this.url.indexOf('data:') !== 0) + else if (typeof this.url === 'string' && this.url.indexOf('blob:') !== 0 && this.url.indexOf('data:') !== 0) { this.url = loader.path + this.url; }