diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-18 17:16:24 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-07-19 16:55:25 +0200 |
commit | b56eca9c3300bd5ae37c66f4565b83d91e11b2cf (patch) | |
tree | 75f993c0918b77df9c056a86e6f03dafb5332e07 /views/header.ejs | |
parent | 974834ff11b5420920cb9727a201878dc748ee4f (diff) | |
download | server-b56eca9c3300bd5ae37c66f4565b83d91e11b2cf.tar.gz |
Eqeqeq in UI code.
Diffstat (limited to 'views/header.ejs')
-rw-r--r-- | views/header.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <html> <head> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1"> -<% if (typeof refresh != 'undefined' && refresh > 0) { %><meta http-equiv="refresh" content="<%= refresh %>"><% } %> +<% if (typeof refresh !== 'undefined' && refresh > 0) { %><meta http-equiv="refresh" content="<%= refresh %>"><% } %> <link rel="icon" href="/images/rally-the-troops.png"> <link rel="stylesheet" href="/fonts/fonts.css"> <link rel="stylesheet" href="/style.css"> @@ -26,7 +26,7 @@ <div class="main"> <h1><%= title %></h1> <% - if (typeof message != 'undefined' && message.length > 0) { + if (typeof message !== 'undefined' && message.length > 0) { %><p class="error"><%= Array.isArray(message) ? message.join("\n") : message %></p><% } %> |