Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
veniware committed Jun 25, 2024
1 parent c8ee875 commit 8299113
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Protest/Front/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
border-bottom: rgb(128,128,128) 1px solid;
}

.list-element:hover{
.list-element:hover {
background-color: var(--clr-highlight);
}

Expand Down
4 changes: 2 additions & 2 deletions Protest/Front/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down

0 comments on commit 8299113

Please sign in to comment.