Changeset 10825


Ignore:
Timestamp:
Jun 23, 2010, 8:58:23 AM (12 years ago)
Author:
Longinus00
Message:

(web) un-uglify the peer list transfer speed colums from r10804

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r10823 r10825  
    13361336                                        html += '<tr class="inspector_peer_entry ' + parity + '">';
    13371337                                        html += '<td>' + (peer.isEncrypted ? '<img src="images/graphics/lock_icon.png" alt="Encrypted"/>' : '') + '</td>';
    1338                                         html += '<td>' + Transmission.fmt.speed(peer.rateToPeer) + '</td>';
    1339                                         html += '<td>' + Transmission.fmt.speed(peer.rateToClient) + '</td>';
     1338                                        html += '<td>' + ( peer.rateToPeer ? Transmission.fmt.speed(peer.rateToPeer) : '' ) + '</td>';
     1339                                        html += '<td>' + ( peer.rateToClient ? Transmission.fmt.speed(peer.rateToClient) : '' ) + '</td>';
    13401340                                        html += '<td class="percentCol">' + Math.floor(peer.progress*100) + '%' + '</td>';
    13411341                                        html += '<td>' + peer.flagStr + '</td>';
Note: See TracChangeset for help on using the changeset viewer.