diff options
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><% } %> |