From 818575dcede652b35b6d3064abc167d8209468df Mon Sep 17 00:00:00 2001 From: Kevin Glowacz Date: Mon, 25 May 2009 04:13:08 +0000 Subject: [PATCH] (trunk web) add the single_file class back in --- web/javascript/torrent.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/javascript/torrent.js b/web/javascript/torrent.js index 577ffae9d..ada9ed7da 100644 --- a/web/javascript/torrent.js +++ b/web/javascript/torrent.js @@ -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