Trigger allIconsLoaded when there are no icons to load

This commit is contained in:
Raul Ochoa 2015-03-04 10:54:30 +01:00
parent 2ceeba0d82
commit 656d082568

View File

@ -351,9 +351,11 @@ var Filters = require('./torque_filters');
this.itemsToLoad++;
new_img.src = img_names[i];
}
} else {
this.fire("allIconsLoaded");
}
},
applyFilters: function(){
if(this._style){
if(this._style['image-filters']){