We dont support button html (#7500)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-03-03 09:30:44 -07:00
1 parent 62dcd6612c
commit b8b24c04dc
1 file changed
+1 -1
@@ -26,7 +26,7 @@ export class FloatingButton extends HTMLElement {
if (!buttonEl) {
throw new Error("Button not found");
}
buttonEl.innerHTML = newValue;
buttonEl.textContent = newValue;
} else if (name === "data-hide-button-icon") {
const buttonIconEl = this.shadowRoot?.querySelector<HTMLElement>("#button-icon");
if (!buttonIconEl) {