WebUI: Fix minor error

No timer is set when the functions are directly called.
This commit is contained in:
Gabriele 2014-12-08 21:00:00 +01:00
parent d06d7b1f6d
commit cb9ed13d69

View file

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