js/comm/jsloader/jsloader.js in rsence-pre-2.3.0.1 vs js/comm/jsloader/jsloader.js in rsence-pre-2.3.0.2

- old
+ new

@@ -64,10 +64,10 @@ **/ load: function(_jsName){ var _this = this, _url = _this._formatUrl( _jsName ); - if((_this._loadedJS.indexOf(_url)!==-1)) { + if(~_this._loadedJS.indexOf(_url)) { return; } // console.log('jsLoader load:',_url); COMM.Queue.pause(); _this._loadedJS.push(_url);