Ticket #1390: clutch.patch

File clutch.patch, 629 bytes (added by KyleK, 12 years ago)
  • web/javascript/transmission.js

    old new  
    669669                // remember them for later
    670670                this._prefs = prefs;
    671671
    672                 var down_limit    = prefs[RPC._DownSpeedLimit];
     672                var down_limit    = prefs[RPC._DownSpeedLimit] / 1024;
    673673                var down_limited  = prefs[RPC._DownSpeedLimited];
    674                 var up_limit      = prefs[RPC._UpSpeedLimit];
     674                var up_limit      = prefs[RPC._UpSpeedLimit] / 1024;
    675675                var up_limited    = prefs[RPC._UpSpeedLimited];
    676676
    677677                $('div.download_location input')[0].value = prefs['download-dir'];