diff --git a/iconCache.js b/iconCache.js index b775307..3610184 100644 --- a/iconCache.js +++ b/iconCache.js @@ -49,7 +49,7 @@ export class IconCache { } const oldIcon = this._cache.get(id); - if (!oldIcon || !oldIcon.equals(icon)) { + if (!oldIcon || !oldIcon.equal(icon)) { Util.Logger.debug(`IconCache: adding ${id}: ${icon}`); this._cache.set(id, icon); } else {