[WebUI] Fix typo in statustab

This commit is contained in:
Calum Lind 2014-02-22 18:08:27 +00:00
parent 60e60427fc
commit 56d216adf7
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ Deluge.details.StatusTab = Ext.extend(Ext.Panel, {
onRequestComplete: function(status) { onRequestComplete: function(status) {
seeds = status.total_seeds > -1 ? status.num_seeds + ' (' + status.total_seeds + ')' : status.num_seeds; seeds = status.total_seeds > -1 ? status.num_seeds + ' (' + status.total_seeds + ')' : status.num_seeds;
peers = status.total_peers > -1 ? status.num_peers + ' (' + status.total_peers + ')' : status.num_peers; peers = status.total_peers > -1 ? status.num_peers + ' (' + status.total_peers + ')' : status.num_peers;
last_seen_complete = status.last_seen_complete > 0.0 ? fdate(status.last_seen_complete) : "Never"; last_seen_complete = status.last_seen_complete > 0.0 ? fdate(status.last_seen_complete) : 'Never';
completed_time = status.last_seen_complete > 0.0 ? fdate(status.completed_time) : "Never"; completed_time = status.completed_time > 0.0 ? fdate(status.completed_time) : '';
var data = { var data = {
downloaded: fsize(status.total_done, true), downloaded: fsize(status.total_done, true),
uploaded: fsize(status.total_uploaded, true), uploaded: fsize(status.total_uploaded, true),