mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
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:
@@ -477,7 +477,6 @@ window.qBittorrent.PropFiles ??= (() => {
|
||||
|
||||
torrentFilesTable.populateTable(rootNode);
|
||||
torrentFilesTable.updateTable(false);
|
||||
torrentFilesTable.altRow();
|
||||
|
||||
if (selectedFiles.length > 0)
|
||||
torrentFilesTable.reselectRows(selectedFiles);
|
||||
@@ -706,12 +705,10 @@ window.qBittorrent.PropFiles ??= (() => {
|
||||
|
||||
const expandNode = function(node) {
|
||||
_collapseNode(node, false, false, false);
|
||||
torrentFilesTable.altRow();
|
||||
};
|
||||
|
||||
const collapseNode = function(node) {
|
||||
_collapseNode(node, true, false, false);
|
||||
torrentFilesTable.altRow();
|
||||
};
|
||||
|
||||
const expandAllNodes = function() {
|
||||
@@ -721,7 +718,6 @@ window.qBittorrent.PropFiles ??= (() => {
|
||||
_collapseNode(child, false, true, false);
|
||||
});
|
||||
});
|
||||
torrentFilesTable.altRow();
|
||||
};
|
||||
|
||||
const collapseAllNodes = function() {
|
||||
@@ -731,7 +727,6 @@ window.qBittorrent.PropFiles ??= (() => {
|
||||
_collapseNode(child, true, true, false);
|
||||
});
|
||||
});
|
||||
torrentFilesTable.altRow();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user