1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00

(trunk web) ability to get global seed ratio

This commit is contained in:
Kevin Glowacz 2009-07-28 04:52:47 +00:00
parent 588490a232
commit 19e56b8e5e

View file

@ -386,6 +386,13 @@ Transmission.prototype =
container.scrollTop( offsetTop + offsetHeight - innerHeight ); 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 * S E L E C T I O N