Skip to content

Commit

Permalink
Backport PR matplotlib#20381: Prevent corrections and completions in …
Browse files Browse the repository at this point in the history
…search field
  • Loading branch information
QuLogic authored and meeseeksmachine committed Jun 7, 2021
1 parent f801f04 commit d314bed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/_templates/layout.html
Expand Up @@ -61,7 +61,7 @@
<li><a href="{{ pathto('devel/index') }}">Contributing</a></li>
<li class="nav-right">
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" placeholder="Search"/>
<input type="text" name="q" aria-labelledby="searchlabel" placeholder="Search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
</form>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion doc/_templates/search.html
Expand Up @@ -17,7 +17,7 @@ <h1 id="search-documentation">{{ _('Search') }}</h1>
"codex ellipse".
</p>
<form action="" method="get">
<input type="text" name="q" value="" />
<input type="text" name="q" value="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="{{ _('search') }}" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
Expand Down

0 comments on commit d314bed

Please sign in to comment.