diff options
author | Thomas Voss <57815710+Mango0x45@users.noreply.github.com> | 2021-02-06 16:28:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 16:28:31 +0100 |
commit | dab73f3faefe6546e9ce22fa77cfcd2a9d74dbcd (patch) | |
tree | cb7779ba799d53424c48f8bbf64175619f33f48f /main.js | |
parent | 85adda024d3207af26f12f5f8e2cdc2df1c349ec (diff) |
Fix millisecond checking bug
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ function time_format(t) ret += s; /* Milliseconds */ - if (t % 1 == 0) + if (t % 1 != 0) ret += "." + t.toFixed(3).split(".")[1]; else ret += ".000"; |