1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Fix slow filtering in WebUI. Fixup 7aadf644e0a0abd47b3f5fc749c2ea96b4ed45e3.

This commit is contained in:
Naikel Aparicio 2017-05-21 18:19:29 -04:00
parent e99e88bbe7
commit 03b2decab6

View File

@ -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();
} }