mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
prettier
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user