WebUI: Add ability to toggle alternating row colors in tables

This commit is contained in:
skomerko 2024-07-28 09:02:15 +02:00
parent 69a829dfb0
commit b67495464d
11 changed files with 40 additions and 90 deletions

View file

@ -343,7 +343,6 @@ window.qBittorrent.Search ??= (() => {
// must restore all filters before calling updateTable
searchResultsTable.updateTable();
searchResultsTable.altRow();
// must reselect rows after calling updateTable
if (rowsToSelect.length > 0)
@ -823,7 +822,6 @@ window.qBittorrent.Search ??= (() => {
$("numSearchResultsTotal").textContent = searchResultsTable.getRowIds().length;
searchResultsTable.updateTable();
searchResultsTable.altRow();
}
setupSearchTableEvents(true);