mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +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) {
|
||||
if (!stats) return;
|
||||
|
||||
function addSpeed(val) {return val + ' KiB/s'}
|
||||
|
||||
var updateStat = function(name, config) {
|
||||
|
|
Loading…
Add table
Reference in a new issue