v1.5.05 - optimization, partial d3 removal

This commit is contained in:
Azgaar 2021-02-02 13:13:32 +03:00
parent a8cf4c04d4
commit 24d2efe8b6
11 changed files with 86 additions and 67 deletions

View file

@ -878,6 +878,10 @@
// async render coa if it does not exist
const trigger = function(id, coa) {
if (!coa) {
console.warn(id, "emblem is undefined");
return;
}
if (!document.getElementById(id)) draw(id, coa);
}