aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com>2022-09-14 08:13:39 +0800
committerGitHub <noreply@github.com>2022-09-14 08:13:39 +0800
commit62a8f8d492f92ccb241abfb66406caeddd4efa54 (patch)
tree82daabee4afdad5d91399734d04be38cd88d4614 /utils
parent3f0e9dcb5f0123b31e6ac26dbdae3d293d97ffe5 (diff)
downloadSoopyV2-62a8f8d492f92ccb241abfb66406caeddd4efa54.tar.gz
SoopyV2-62a8f8d492f92ccb241abfb66406caeddd4efa54.tar.bz2
SoopyV2-62a8f8d492f92ccb241abfb66406caeddd4efa54.zip
Update numberUtils.js
Diffstat (limited to 'utils')
-rw-r--r--utils/numberUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/numberUtils.js b/utils/numberUtils.js
index b701c21..8d5e7c3 100644
--- a/utils/numberUtils.js
+++ b/utils/numberUtils.js
@@ -89,7 +89,7 @@ let utils = {
let secs = (time / 1000) % 60
if (mins === 0) return `${secs.toFixed(secondDecimals)}s`
- else return `${mins}m ${secs.toFixed(secondDecimals)}s`
+ return `${mins}m ${secs.toFixed(secondDecimals)}s`
},
timeNumber2: (time) => {
let hours = Math.floor(time / 1000 / 60 / 60)