Fix dynamic floating widget
This commit is contained in:
@@ -17,5 +17,10 @@
|
||||
for (const [name, value] of Object.entries(CAP_FLOATING_DYNAMIC['attributes'])) {
|
||||
element.setAttribute(name, value);
|
||||
}
|
||||
|
||||
// Trigger MutationObserver
|
||||
const parent = element.parentElement;
|
||||
parent.removeChild(element);
|
||||
parent.appendChild(element);
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user