mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-09 04:22:11 +00:00
WebUI: Fix minor error
No timer is set when the functions are directly called.
This commit is contained in:
parent
d06d7b1f6d
commit
cb9ed13d69
@ -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…
x
Reference in New Issue
Block a user