workaround for mobile devices: force to disable autocapitalize in input fields

Without this change you have to type on an Android device: shift shift cat
to search for the man page "cat" in lower case
This commit is contained in:
Wolfram Schneider 2017-08-29 07:36:02 +00:00
parent faf8e9e4c7
commit 3b2a61ee64
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50762

View file

@ -1738,7 +1738,7 @@ sub formquery {
<form id="man" method="get" action="$BASE">
<!-- Manual Page or Keyword Search: -->
<span class="spaces">&nbsp;&nbsp;</span>
<input id="query" value="$query" name="query" size="36" $autofocus />
<input type="text" id="query" value="$query" name="query" size="36" autocapitalize="none" $autofocus />
<button type="submit" name="apropos" value="0">man</button>
<button type="submit" name="apropos" value="1">apropos</button>
<br/>