diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-04-28 17:59:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-04-28 17:59:14 +0000 |
commit | 7461763ab84e11bc9196e323a3081fa4dcf6b21e (patch) | |
tree | ff2a46ab0982d91ae03691a93c3835d1d9c6e63a | |
parent | 08a0ddf44ad09e1a70ca176599ea4fa091e9bd6f (diff) | |
download | mandoc-7461763ab84e11bc9196e323a3081fa4dcf6b21e.tar.gz |
Set the "autofocus" attribute on the query text box.
Patch from Fabian dot Raetz at gmail dot com.
-rw-r--r-- | cgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -384,7 +384,7 @@ resp_searchform(const struct req *req) "<input type=\"text\" name=\"query\" value=\""); if (NULL != req->q.query) html_print(req->q.query); - puts("\" size=\"40\">"); + puts("\" size=\"40\" autofocus>"); /* Write submission and reset buttons. */ |