This commit is contained in:
konnorrogers
2025-12-16 10:54:23 -05:00
parent ee43f0fe69
commit d7137551a0

View File

@@ -136,9 +136,9 @@ export default class WaButton extends WebAwesomeFormAssociatedElement {
const button = document.createElement('button'); const button = document.createElement('button');
for (const attribute of this.attributes) { for (const attribute of this.attributes) {
if (attribute.name === "style") { if (attribute.name === 'style') {
// Skip style attributes as they *shouldn't* be necessary // Skip style attributes as they *shouldn't* be necessary
continue continue;
} }
button.setAttribute(attribute.name, attribute.value); button.setAttribute(attribute.name, attribute.value);
} }