From 419b6653b5177e599558991aaa6dbe71803a0f87 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 21 Oct 2024 12:29:28 +0200 Subject: Use env to control presence of tournaments. --- public/join.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') 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" } -- cgit v1.2.3