mirror of
https://github.com/transmission/transmission.git
synced 2025-12-23 11:58:36 +00:00
(trunk web) ability to get global seed ratio
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user