Reset icons to load counter and fire all icons loaded when any fails
This commit is contained in:
parent
286b23ebaf
commit
7958c81c24
@ -380,6 +380,8 @@ var Filters = require('./torque_filters');
|
||||
if (err) {
|
||||
self._forcePoints = true;
|
||||
self.clearSpriteCache();
|
||||
self._iconsToLoad = 0;
|
||||
self.fire("allIconsLoaded");
|
||||
if(filtered) {
|
||||
console.info("Only CORS-enabled, or same domain image-files can be used in combination with image-filters");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user