Skip to content

Commit

Permalink
Update public.js
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed May 27, 2024
1 parent c68eaa9 commit 10aa140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions route/static/app/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ function toSizePos(a, pos = 0) {
for(var b = 0; b < d.length; b++) {
if (pos > 0){
if (b == pos){
r['name'] = (b == 0 ? a : a.toFixed(2)) + d[b]
r['name'] = (b == 0 ? a : a.toFixed(2)) + d[b];
r['pos'] = b;
return r
}
} else {
if( a < e) {
r['name'] = (b == 0 ? a : a.toFixed(2)) + d[b]
r['name'] = (b == 0 ? a : a.toFixed(2)) + d[b];
r['pos'] = b;
return r
}
Expand Down

0 comments on commit 10aa140

Please sign in to comment.