diff --git a/src/main/resources/static/js/pages/list/frontend/categoryUI.js b/src/main/resources/static/js/pages/list/frontend/categoryUI.js index 1d00dd2..46dd162 100644 --- a/src/main/resources/static/js/pages/list/frontend/categoryUI.js +++ b/src/main/resources/static/js/pages/list/frontend/categoryUI.js @@ -42,6 +42,8 @@ export function createEditCategoryForm(categoryName) { inputName.setAttribute("value", categoryName); inputName.classList.add("editForm__name"); + abortButton.setAttribute("type", "button"); + abortButton.classList.add("editForm__buttonAbort"); abortButton.textContent = "Abbrechen"; saveButton.textContent = "Speichern";