refactor
This commit is contained in:
1 parent
79443930e2
commit
b4eb339657
1 file changed
+1
-1
@@ -32,7 +32,7 @@ export function createEditForm(fields) {
|
||||
}
|
||||
|
||||
|
||||
export function editElement(element, attributes) {
|
||||
export function setElementAttributes(element, attributes) {
|
||||
|
||||
for (const [attr, val] of Object.entries(attributes)) element.setAttribute(attr, val);
|
||||
|
||||
|
||||
Reference in new issue
Block a user