Browse Source

WebUI: Fix minor error

No timer is set when the functions are directly called.
adaptive-webui-19844
Gabriele 10 years ago
parent
commit
cb9ed13d69
  1. 4
      src/webui/www/public/scripts/client.js

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

@ -143,7 +143,7 @@ var loadTorrentsInfo = function () {
var updateTransferList = function() { var updateTransferList = function() {
clearTimeout(loadTorrentsInfoTimer); clearTimeout(loadTorrentsInfoTimer);
loadTorrentsInfoTimer = loadTorrentsInfo(); loadTorrentsInfo();
} }
window.addEvent('load', function () { window.addEvent('load', function () {
@ -253,7 +253,7 @@ window.addEvent('load', function () {
var updateTransferInfo = function() { var updateTransferInfo = function() {
clearTimeout(loadTransferInfoTimer); clearTimeout(loadTransferInfoTimer);
loadTransferInfoTimer = loadTransferInfo(); loadTransferInfo();
} }
// Start fetching data now // Start fetching data now

Loading…
Cancel
Save