Changeset 8852


Ignore:
Timestamp:
Jul 28, 2009, 4:52:47 AM (13 years ago)
Author:
kjg
Message:

(trunk web) ability to get global seed ratio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r8788 r8852  
    385385                else if( innerHeight + scrollTop < offsetTop + offsetHeight )
    386386                        container.scrollTop( offsetTop + offsetHeight - innerHeight );
     387        },
     388
     389        seedRatio: function(){
     390                if(this._prefs && this._prefs['seedRatioLimited'])
     391                        return this._prefs['seedRatioLimit'];
     392                else
     393                        return -1;
    387394        },
    388395
Note: See TracChangeset for help on using the changeset viewer.