v1.5.08 - province/burg regenerate - emblems

This commit is contained in:
Azgaar 2021-02-03 20:10:01 +03:00
parent 7d0bf2689e
commit f4d8b439b4
4 changed files with 21 additions and 11 deletions

View file

@ -453,7 +453,7 @@ function invokeActiveZooming() {
const size = this.getAttribute("font-size") * scale;
const hidden = size < 25 || size > 300;
if (hidden) this.classList.add("hidden"); else this.classList.remove("hidden");
if (!hidden && this.children.length && !this.children[0].getAttribute("href")) renderGroupCOAs(this);
if (!hidden && COArenderer && this.children.length && !this.children[0].getAttribute("href")) renderGroupCOAs(this);
});
}