Trigger allIconsLoaded when there are no icons to load
This commit is contained in:
parent
2ceeba0d82
commit
656d082568
@ -351,9 +351,11 @@ var Filters = require('./torque_filters');
|
|||||||
this.itemsToLoad++;
|
this.itemsToLoad++;
|
||||||
new_img.src = img_names[i];
|
new_img.src = img_names[i];
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.fire("allIconsLoaded");
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
applyFilters: function(){
|
applyFilters: function(){
|
||||||
if(this._style){
|
if(this._style){
|
||||||
if(this._style['image-filters']){
|
if(this._style['image-filters']){
|
||||||
|
Loading…
Reference in New Issue
Block a user