We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7297225 commit 51d8710Copy full SHA for 51d8710
src/webui/www/private/scripts/dynamicTable.js
@@ -872,11 +872,9 @@ window.qBittorrent.DynamicTable ??= (() => {
872
updateTable(fullUpdate = false) {
873
const rows = this.getFilteredAndSortedRows();
874
875
- for (let i = 0; i < this.selectedRows.length; ++i) {
876
- if (!(this.selectedRows[i] in rows)) {
+ for (let i = this.selectedRows.length - 1; i >= 0; --i) {
+ if (!(this.selectedRows[i] in rows))
877
this.selectedRows.splice(i, 1);
878
- --i;
879
- }
880
}
881
882
if (this.useVirtualList) {
0 commit comments