(web) #1171: bugs in viewing torrent info and progress bar

This commit is contained in:
Charles Kerr
2008-08-10 19:24:26 +00:00
parent e22eb7c68b
commit d212fff088
2 changed files with 9 additions and 0 deletions

View File

@@ -301,6 +301,12 @@ Torrent.prototype =
// Add the progress bar
var notDone = this._leftUntilDone > 0;
// Fix for situation
// when a verifying/downloading torrent gets state seeding
if( this.state == Torrent._StatusSeeding )
notDone = false ;
if( notDone )
{
var eta = '';