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
commit 49507ad670
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);