WebUI Add Limit Share Ratio context menu option

Closes #6815, #7602.
This commit is contained in:
Thomas Piccirello 2018-03-14 00:41:16 -04:00 committed by Chocobo1
parent 1f42ab8c4f
commit 9f36b54b04
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
11 changed files with 240 additions and 0 deletions

View file

@ -76,6 +76,10 @@ function friendlyPercentage(value) {
return percentage.toFixed(1) + "%";
}
function friendlyFloat(value, precision) {
return parseFloat(value).toFixed(precision);
}
/*
* From: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
*/