Merge pull request #21123 from skomerko/webui-use-alternating-row-colors

WebUI: Add ability to toggle alternating row colors in tables
This commit is contained in:
Chocobo1
2024-08-04 17:16:01 +08:00
committed by GitHub
12 changed files with 41 additions and 91 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)
@@ -825,7 +824,6 @@ window.qBittorrent.Search ??= (() => {
$("numSearchResultsTotal").textContent = searchResultsTable.getRowIds().length;
searchResultsTable.updateTable();
searchResultsTable.altRow();
}
setupSearchTableEvents(true);