From fc37b02549ca7a98d67cc66784b96e4fb4524ff0 Mon Sep 17 00:00:00 2001 From: Michael Marley <michael@michaelmarley.com> Date: Sun, 18 Sep 2016 08:59:00 -0400 Subject: [PATCH] Disable browser autocomplete for the search field The page already provides an autocomplete mechanism, so this patch prevents the browser autocomplete dropdown from being displayed if the search box is clicked twice. --- templates/search.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/search.phtml b/templates/search.phtml index 54dc6e5..47069be 100644 --- a/templates/search.phtml +++ b/templates/search.phtml @@ -11,7 +11,7 @@ <nav> <div class="wrapper"> <div id="searchbar"> - <input name="q" id="q" placeholder="Search" type="text"> + <input name="q" id="q" placeholder="Search" type="text" autocomplete="off"> <div id="searchicon" class="icon">search</div> </div> </div> -- GitLab