We dont support button html (#7500)
This commit is contained in:
1 parent
62dcd6612c
commit
b8b24c04dc
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export class FloatingButton extends HTMLElement {
|
|||||||
if (!buttonEl) {
|
if (!buttonEl) {
|
||||||
throw new Error("Button not found");
|
throw new Error("Button not found");
|
||||||
}
|
}
|
||||||
buttonEl.innerHTML = newValue;
|
buttonEl.textContent = newValue;
|
||||||
} else if (name === "data-hide-button-icon") {
|
} else if (name === "data-hide-button-icon") {
|
||||||
const buttonIconEl = this.shadowRoot?.querySelector<HTMLElement>("#button-icon");
|
const buttonIconEl = this.shadowRoot?.querySelector<HTMLElement>("#button-icon");
|
||||||
if (!buttonIconEl) {
|
if (!buttonIconEl) {
|
||||||
|
|||||||
Reference in new issue
Block a user