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