diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-21 12:29:28 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-21 12:29:28 +0200 |
commit | 419b6653b5177e599558991aaa6dbe71803a0f87 (patch) | |
tree | 5bdae749f1b44e1525c122fb983fe78aa0cacecb /public/join.js | |
parent | 2d1c2728bece17648328aa7de4e74b369edd792c (diff) | |
download | server-419b6653b5177e599558991aaa6dbe71803a0f87.tar.gz |
Use env to control presence of tournaments.
Diffstat (limited to 'public/join.js')
-rw-r--r-- | public/join.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/join.js b/public/join.js index b2c667f..9228481 100644 --- a/public/join.js +++ b/public/join.js @@ -128,7 +128,7 @@ function format_time_left(time) { return "no time left" if (time <= 2 / 24) return Math.floor(time * 24 * 60) + " minutes left" - if (time <= 2) + if (time <= 3) return Math.floor(time * 24) + " hours left" return Math.floor(time) + " days left" } |