* [PATCH] Use type='search' for the search box
@ 2017-10-14 19:02
2017-10-15 16:44 ` Jason
0 siblings, 1 reply; 2+ messages in thread
From: @ 2017-10-14 19:02 UTC (permalink / raw)
Signed-off-by: Ville Skytt? <ville.skytta at iki.fi>
---
ui-shared.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui-shared.c b/ui-shared.c
index 07c78a5..9d8f66b 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -1027,7 +1027,7 @@ void cgit_print_pageheader(void)
html_option("committer", "committer", ctx.qry.grep);
html_option("range", "range", ctx.qry.grep);
html("</select>\n");
- html("<input class='txt' type='text' size='10' name='q' value='");
+ html("<input class='txt' type='search' size='10' name='q' value='");
html_attr(ctx.qry.search);
html("'/>\n");
html("<input type='submit' value='search'/>\n");
@@ -1042,7 +1042,7 @@ void cgit_print_pageheader(void)
html("<form method='get' action='");
html_attr(currenturl);
html("'>\n");
- html("<input type='text' name='q' size='10' value='");
+ html("<input type='search' name='q' size='10' value='");
html_attr(ctx.qry.search);
html("'/>\n");
html("<input type='submit' value='search'/>\n");
--
2.14.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Use type='search' for the search box
2017-10-14 19:02 [PATCH] Use type='search' for the search box
@ 2017-10-15 16:44 ` Jason
0 siblings, 0 replies; 2+ messages in thread
From: Jason @ 2017-10-15 16:44 UTC (permalink / raw)
Applied thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-15 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-14 19:02 [PATCH] Use type='search' for the search box
2017-10-15 16:44 ` Jason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).