mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk web) add the single_file class back in
This commit is contained in:
parent
231110f747
commit
818575dced
1 changed files with 2 additions and 0 deletions
|
@ -482,6 +482,8 @@ Torrent.prototype =
|
|||
|
||||
ensureFileListExists: function() {
|
||||
if( this._file_view.length == 0 ) {
|
||||
if(this._file_model.length == 1)
|
||||
this._fileList.className += ' single_file';
|
||||
var v, e;
|
||||
for( var i=0; i<this._file_model.length; ++i ) {
|
||||
v = new TorrentFile( this._file_model[i] );
|
||||
|
|
Loading…
Reference in a new issue