From b4eb339657bdf4d417886fa66e832be18b157837 Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Wed, 14 Oct 2026 20:19:41 +0200 Subject: [PATCH] refactor --- src/main/resources/static/js/shared/sharedUI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);