mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
return if stats is null or false
This commit is contained in:
parent
6334820a5d
commit
074c2f85a5
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
update: function(stats) {
|
update: function(stats) {
|
||||||
|
if (!stats) return;
|
||||||
|
|
||||||
function addSpeed(val) {return val + ' KiB/s'}
|
function addSpeed(val) {return val + ' KiB/s'}
|
||||||
|
|
||||||
var updateStat = function(name, config) {
|
var updateStat = function(name, config) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue