From 5c69283e802468ffa0de8844b217fdedfc4d730d Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Tue, 19 Jan 2021 11:11:13 -0500 Subject: [PATCH] Hotfix: Add hidden submit btn for nojs searches With javascript disabled, searches could not be submitted on the results page using the "Enter" key. Adding a hidden submit button to the header template resolves this issue. --- app/templates/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/header.html b/app/templates/header.html index e99e38e..7ae980f 100644 --- a/app/templates/header.html +++ b/app/templates/header.html @@ -15,6 +15,7 @@ border: {{ '1px solid #685e79' if dark_mode else '' }}" spellcheck="false" type="text" value="{{ query }}"> +
@@ -38,6 +39,7 @@ color: {{ '#685e79' if dark_mode else '#000' }}; border: {{ '1px solid #685e79' if dark_mode else '' }}"> +