popup.rect get & set
This commit is contained in:
@ -10,7 +10,7 @@ function createUse(type, id) {
|
||||
}
|
||||
|
||||
function changeIcon(svg, type, id) {
|
||||
if (svg instanceof HTMLElement) {
|
||||
if (svg instanceof SVGElement) {
|
||||
svg.replaceChildren(createUse(type, id));
|
||||
}
|
||||
return svg;
|
||||
|
Reference in New Issue
Block a user