Changeset 12731


Ignore:
Timestamp:
Aug 25, 2011, 2:42:56 AM (10 years ago)
Author:
livings124
Message:

(trunk web) for paused seeds, for the entire progress bar to be gray instead of only the finished-seeding section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent-row.js

    r12728 r12731  
    1818        var seed_ratio_limit = t.seedRatioLimit(controller);
    1919
    20         var pct = 0;
     20        var pct;
    2121        if (t.needsMetaData())
    2222                pct = t.getMetadataPercentComplete() * 100;
    2323        else if (!t.isDone())
    2424                pct = Math.round(t.getPercentDone() * 100);
    25         else if (seed_ratio_limit > 0)
     25        else if (seed_ratio_limit > 0 && !t.isStopped())
    2626                pct = Math.round(t.getUploadRatio() * 100 / seed_ratio_limit);
    2727        else
Note: See TracChangeset for help on using the changeset viewer.