popup.rect get & set
This commit is contained in:
1 parent
046ed387e6
commit
92a360cbc2
5 files changed
+54
-17
No files matched your search
+1
-1
@@ -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