mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk web) add the single_file class back in
This commit is contained in:
@@ -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] );
|
||||
|
||||
Reference in New Issue
Block a user