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/header.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/header.ejs') diff --git a/views/header.ejs b/views/header.ejs index 9e101dd..3af1a8b 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -2,7 +2,7 @@ -<% if (typeof refresh != 'undefined' && refresh > 0) { %><% } %> +<% if (typeof refresh !== 'undefined' && refresh > 0) { %><% } %> @@ -26,7 +26,7 @@

<%= title %>

<% - if (typeof message != 'undefined' && message.length > 0) { + if (typeof message !== 'undefined' && message.length > 0) { %>

<%= Array.isArray(message) ? message.join("\n") : message %>

<% } %> -- cgit v1.2.3