mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
(trunk web) ability to get global seed ratio
This commit is contained in:
parent
588490a232
commit
19e56b8e5e
1 changed files with 7 additions and 0 deletions
|
@ -386,6 +386,13 @@ Transmission.prototype =
|
|||
container.scrollTop( offsetTop + offsetHeight - innerHeight );
|
||||
},
|
||||
|
||||
seedRatio: function(){
|
||||
if(this._prefs && this._prefs['seedRatioLimited'])
|
||||
return this._prefs['seedRatioLimit'];
|
||||
else
|
||||
return -1;
|
||||
},
|
||||
|
||||
/*--------------------------------------------
|
||||
*
|
||||
* S E L E C T I O N
|
||||
|
|
Loading…
Reference in a new issue