diff --git a/packages/webawesome/src/components/button/button.ts b/packages/webawesome/src/components/button/button.ts index b34a2a06b..146fdb83d 100644 --- a/packages/webawesome/src/components/button/button.ts +++ b/packages/webawesome/src/components/button/button.ts @@ -136,9 +136,9 @@ export default class WaButton extends WebAwesomeFormAssociatedElement { const button = document.createElement('button'); for (const attribute of this.attributes) { - if (attribute.name === "style") { + if (attribute.name === 'style') { // Skip style attributes as they *shouldn't* be necessary - continue + continue; } button.setAttribute(attribute.name, attribute.value); }