mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
#1125 - If a torrent has 0% completed, the progressbar is 1 pixel long
This commit is contained in:
@@ -340,6 +340,7 @@ Torrent.prototype =
|
||||
e.addClass( 'torrent_progress_bar' );
|
||||
e.addClass( class_name );
|
||||
e.css( 'width', css_completed_width + '%' );
|
||||
if(css_completed_width == 0) { e.addClass( 'empty' ); }
|
||||
|
||||
// Update the 'incomplete' bar
|
||||
e = root._progress_incomplete_container;
|
||||
|
||||
Reference in New Issue
Block a user