editCateogry nimmt jtz das element shopping-category
This commit is contained in:
1 parent
5f9ce78476
commit
df90bf21d1
1 file changed
+1
-1
@@ -162,7 +162,7 @@ function init() {
|
||||
} else if (event.target.closest(".category__name")) {
|
||||
|
||||
const li = event.target.closest("li");
|
||||
editCategory(event.target.closest(".category__header"), li.dataset.id);
|
||||
editCategory(event.target.closest("shopping-category"), li.dataset.id);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user