From b56eca9c3300bd5ae37c66f4565b83d91e11b2cf Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 18 Jul 2021 17:16:24 +0200 Subject: Eqeqeq in UI code. --- views/profile.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/profile.ejs') diff --git a/views/profile.ejs b/views/profile.ejs index 74843f3..8d03234 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -89,7 +89,7 @@ Your mail address is <%= user.mail %>. <% } %> -<% if (open_games.length == 0 && active_games.length == 0 && finished_games.length == 0) { %> +<% if (open_games.length === 0 && active_games.length === 0 && finished_games.length === 0) { %>

You don't have any current or finished games. <% } %> -- cgit v1.2.3