mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
WebUI: Add ability to toggle alternating row colors in tables
This commit is contained in:
parent
69a829dfb0
commit
b67495464d
11 changed files with 40 additions and 90 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue