load fonts on .map file open

This commit is contained in:
Azgaar 2021-07-11 00:29:58 +03:00
parent 25de9edb13
commit cfb6e1eeeb
5 changed files with 29 additions and 16 deletions

View file

@ -846,7 +846,7 @@ function editStates() {
if (owner) {
const name = provinces[p].name;
// if province is historical part of abouther state province, unite with old province
// if province is a historical part of another state's province, unite with old province
const part = states[owner].provinces.find(n => name.includes(provinces[n].name));
if (part) {
provinces[p].removed = true;

View file

@ -1233,7 +1233,7 @@ function addFonts(url) {
document.head.removeChild(s);
return fetched;
})
.catch(function () {});
.catch(err => ERROR && console.error(err));
}
// Update font list for Label and Burg Editors