(trunk web) add the single_file class back in
This commit is contained in:
parent
231110f747
commit
818575dced
|
@ -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 New Issue