Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
xOS committed Feb 29, 2024
1 parent d2563b0 commit 1947def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/template/theme-default/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -711,10 +711,10 @@
getK2Gb(bs){
bs = bs / 1024 / 1024 / 1024;
if (bs >= 1) {
return Math.ceil(bs.toFixed(2)) + 'GB';
return Math.ceil(bs.toFixed(2)) + 'G';
} else {
bs = bs * 1024;
return Math.ceil(bs.toFixed(2)) + 'MB';
return Math.ceil(bs.toFixed(2)) + 'M';
}
},
listTipsMouseenter(obj, strs, tipsNum = 1){
Expand Down

0 comments on commit 1947def

Please sign in to comment.