From b7e924448ff882ce02900b36ce7de7218ab55c08 Mon Sep 17 00:00:00 2001 From: Perception Date: Thu, 7 Jan 2021 11:22:50 -0800 Subject: [PATCH] Reverse conditional --- templates/_search.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_search.ejs b/templates/_search.ejs index 72b1fbc..ebb574d 100644 --- a/templates/_search.ejs +++ b/templates/_search.ejs @@ -10,7 +10,7 @@
<% let search = '' - if (typeof q == 'undefined') { + if (typeof q != 'undefined') { search = htmlEscape(q).replace(/\+/g, ' ') } %>