v1.5.54 - fixed 592

This commit is contained in:
Azgaar 2021-02-24 16:01:04 +03:00
parent c2edda6a4a
commit 41779d9577
2 changed files with 10 additions and 1 deletions

View file

@ -1086,6 +1086,15 @@ function parseLoadedData(data) {
emblems.append("g").attr("id", "stateEmblems");
regenerateEmblems();
toggleEmblems();
// v 1.5 changed releif icons data
terrain.selectAll("use").each(function() {
const type = this.getAttribute("data-type") || this.getAttribute("xlink:href");
this.removeAttribute("xlink:href");
this.removeAttribute("data-type");
this.removeAttribute("data-size");
this.setAttribute("href", type);
});
}
}()