mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: Fix minor error
No timer is set when the functions are directly called.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user