mirror of
https://github.com/transmission/transmission
synced 2025-01-03 13:35:36 +00:00
(trunk web) sync the web client's code with r10197
This commit is contained in:
parent
52172c80d6
commit
b592efc5b9
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ Torrent.prototype =
|
|||
buildTrackerStats: function(trackerStats) {
|
||||
result = [];
|
||||
for( var i=0, tracker; tracker=trackerStats[i]; ++i ) {
|
||||
tier = result[tracker.tier - 1] || [];
|
||||
tier = result[tracker.tier] || [];
|
||||
tier[tier.length] = {
|
||||
'host': tracker.host,
|
||||
'announce': tracker.announce,
|
||||
|
@ -189,7 +189,7 @@ Torrent.prototype =
|
|||
'leecherCount': tracker.leecherCount,
|
||||
'downloadCount': tracker.downloadCount
|
||||
};
|
||||
result[tracker.tier - 1] = tier;
|
||||
result[tracker.tier] = tier;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue