Browse Source

Fix slow filtering in WebUI. Fixup 7aadf644e0.

adaptive-webui-19844
Naikel Aparicio 7 years ago
parent
commit
03b2decab6
  1. 4
      src/webui/www/public/scripts/client.js

4
src/webui/www/public/scripts/client.js

@ -107,7 +107,7 @@ window.addEvent('load', function () { @@ -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 () { @@ -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…
Cancel
Save