mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Fix slow filtering in WebUI. Fixup 7aadf644e0.
This commit is contained in:
@@ -107,7 +107,7 @@ window.addEvent('load', function () {
|
|||||||
selected_category = hash;
|
selected_category = hash;
|
||||||
localStorage.setItem('selected_category', selected_category);
|
localStorage.setItem('selected_category', selected_category);
|
||||||
highlightSelectedCategory();
|
highlightSelectedCategory();
|
||||||
if (typeof torrentsTable.table != 'undefined')
|
if (typeof torrentsTable.tableBody != 'undefined')
|
||||||
updateMainData();
|
updateMainData();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ window.addEvent('load', function () {
|
|||||||
selected_filter = f;
|
selected_filter = f;
|
||||||
localStorage.setItem('selected_filter', f);
|
localStorage.setItem('selected_filter', f);
|
||||||
// Reload torrents
|
// Reload torrents
|
||||||
if (typeof torrentsTable.table != 'undefined')
|
if (typeof torrentsTable.tableBody != 'undefined')
|
||||||
updateMainData();
|
updateMainData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user