(trunk web) add the single_file class back in

This commit is contained in:
Kevin Glowacz 2009-05-25 04:13:08 +00:00
parent 231110f747
commit 818575dced
1 changed files with 2 additions and 0 deletions

View File

@ -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] );