mirror of
https://github.com/transmission/transmission.git
synced 2025-12-23 20:08:43 +00:00
(trunk web) bugfix from Longinus00 to properly unset seeding status on progress bar.
This commit is contained in:
@@ -468,6 +468,9 @@ Torrent.prototype =
|
|||||||
e = root._progress_incomplete_container;
|
e = root._progress_incomplete_container;
|
||||||
if( e.className.indexOf( 'incomplete' ) === -1 )
|
if( e.className.indexOf( 'incomplete' ) === -1 )
|
||||||
e.className = 'torrent_progress_bar in_progress';
|
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.width = (MaxBarWidth - css_completed_width) + '%';
|
||||||
e.style.display = 'block';
|
e.style.display = 'block';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user