From ea6104d560638eccce90d9355dbeb17187b98ef6 Mon Sep 17 00:00:00 2001 From: Kevin Glowacz Date: Mon, 24 Aug 2009 23:38:09 +0000 Subject: [PATCH] (trunk web) bugfix from Longinus00 to properly unset seeding status on progress bar. --- web/javascript/torrent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/javascript/torrent.js b/web/javascript/torrent.js index fb2200f76..d40dd66a1 100644 --- a/web/javascript/torrent.js +++ b/web/javascript/torrent.js @@ -468,6 +468,9 @@ Torrent.prototype = e = root._progress_incomplete_container; if( e.className.indexOf( 'incomplete' ) === -1 ) e.className = 'torrent_progress_bar in_progress'; + // Clear the 'seeding' tag + if( e.className.indexOf( 'seeding' ) != -1 ) + e.className = 'torrent_progress_bar incomplete'; e.style.width = (MaxBarWidth - css_completed_width) + '%'; e.style.display = 'block'; }