bug
This commit is contained in:
1 parent
200f23c5e1
commit
6c8b61fdda
1 file changed
+1
-1
@@ -38,7 +38,7 @@ export class ShoppingList extends HTMLElement {
|
||||
|
||||
switch (name) {
|
||||
case "list-name":
|
||||
this.querySelector("list__name").textContent = name;
|
||||
this.querySelector(".list__name").textContent = newVal;
|
||||
document.querySelector(`.navbar__list[data-id='${listLi.dataset.id}'] > a`).textContent = newVal;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user