1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(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

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