diff --git a/src/main/resources/static/js/shared/sharedUI.js b/src/main/resources/static/js/shared/sharedUI.js index 2bc7682..c77a80f 100644 --- a/src/main/resources/static/js/shared/sharedUI.js +++ b/src/main/resources/static/js/shared/sharedUI.js @@ -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);