diff --git a/deluge/ui/web/js/Deluge.Statusbar.js b/deluge/ui/web/js/Deluge.Statusbar.js index ac2c2c2cd..0104bf0d8 100644 --- a/deluge/ui/web/js/Deluge.Statusbar.js +++ b/deluge/ui/web/js/Deluge.Statusbar.js @@ -72,6 +72,8 @@ }, update: function(stats) { + if (!stats) return; + function addSpeed(val) {return val + ' KiB/s'} var updateStat = function(name, config) {