diff --git a/Protest/Front/list.css b/Protest/Front/list.css index 18c92444..ed969c4e 100644 --- a/Protest/Front/list.css +++ b/Protest/Front/list.css @@ -101,7 +101,7 @@ border-bottom: rgb(128,128,128) 1px solid; } -.list-element:hover{ +.list-element:hover { background-color: var(--clr-highlight); } diff --git a/Protest/Front/list.js b/Protest/Front/list.js index 1199954b..8220ad33 100644 --- a/Protest/Front/list.js +++ b/Protest/Front/list.js @@ -753,14 +753,14 @@ class List extends Window { buttonBox.appendChild(okButton); buttonBox.appendChild(cancelButton); - applyAllButton.addEventListener("click", event=> { + applyAllButton.addEventListener("click", ()=> { Apply(); cancelButton.onclick(); localStorage.setItem(`${this.constructor.name.toLowerCase()}_columns`, JSON.stringify(this.columnsElements.map(o=> o.textContent))); }); - okButton.addEventListener("click", event=> { + okButton.addEventListener("click", ()=> { Apply(); });