1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:27:58 +01:00

Fix buffer completion

This commit is contained in:
Kris Maglione
2008-11-26 08:15:01 +00:00
parent 78d700fd91
commit 3a85f642e2
4 changed files with 7 additions and 37 deletions

View File

@@ -214,8 +214,7 @@ const util = { //{{{
}
for (let u = strNum[0].length - 3; u > 0; u -= 3) // make a 10000 a 10,000
strNum[0] = strNum[0].substring(0, u)
+ "," + strNum[0].substring(u, strNum[0].length);
strNum[0] = strNum[0].substr(0, u) + "," + strNum[0].substr(u);
if (unitIndex) // decimalPlaces only when > Bytes
strNum[0] += "." + strNum[1];