summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-21 12:29:28 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-21 12:29:28 +0200
commit419b6653b5177e599558991aaa6dbe71803a0f87 (patch)
tree5bdae749f1b44e1525c122fb983fe78aa0cacecb /public
parent2d1c2728bece17648328aa7de4e74b369edd792c (diff)
downloadserver-419b6653b5177e599558991aaa6dbe71803a0f87.tar.gz
Use env to control presence of tournaments.
Diffstat (limited to 'public')
-rw-r--r--public/join.js2
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"
}