(web) #3456:Improve web client torrent list display

This commit is contained in:
Daniel Lee
2010-07-31 16:28:00 +00:00
parent b5dabf2968
commit 222261cb64
4 changed files with 28 additions and 1 deletions

View File

@@ -662,6 +662,14 @@ Torrent.prototype =
}
setInnerHTML( root._progress_details_container, progress_details );
if( compact ){
var width = root._progress_details_container.offsetLeft - root._name_container.offsetLeft;
root._name_container.style.width = width + 'px';
}
else {
root._name_container.style.width = '100%';
}
// Update the peer details and pause/resume button
e = root._pause_resume_button_image;
if ( this.state() === Torrent._StatusPaused ) {