svn commit: r50762 - head/en_US.ISO8859-1/htdocs/cgi

Wolfram Schneider wosch at FreeBSD.org
Tue Aug 29 07:36:03 UTC 2017


Author: wosch
Date: Tue Aug 29 07:36:02 2017
New Revision: 50762
URL: https://svnweb.freebsd.org/changeset/doc/50762

Log:
  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

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Tue Aug 29 07:34:32 2017	(r50761)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Tue Aug 29 07:36:02 2017	(r50762)
@@ -1738,7 +1738,7 @@ sub formquery {
 <form id="man" method="get" action="$BASE">
 <!-- Manual Page or Keyword Search: -->
 <span class="spaces">  </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/>


More information about the svn-doc-all mailing list