docs: Remove some jquery leftovers

This commit is contained in:
Fabian Boehm 2023-08-23 18:10:55 +02:00
parent e3b1d327f1
commit b3ff982ad7

View File

@ -14,7 +14,7 @@
{%- macro searchbox() %} {%- macro searchbox() %}
{# modified from sphinx/themes/basic/searchbox.html #} {# modified from sphinx/themes/basic/searchbox.html #}
{%- if builder != "htmlhelp" %} {%- if builder != "htmlhelp" %}
<div class="inline-search" style="display: none" role="search"> <div class="inline-search" role="search">
<form class="inline-search" action="{{ pathto('search') }}" method="get"> <form class="inline-search" action="{{ pathto('search') }}" method="get">
<input placeholder="{{ _('Quick search') }}" type="text" name="q" /> <input placeholder="{{ _('Quick search') }}" type="text" name="q" />
<input type="submit" value="{{ _('Go') }}" /> <input type="submit" value="{{ _('Go') }}" />
@ -22,7 +22,6 @@
<input type="hidden" name="area" value="default" /> <input type="hidden" name="area" value="default" />
</form> </form>
</div> </div>
<script type="text/javascript">$('.inline-search').show(0);</script>
{%- endif %} {%- endif %}
{%- endmacro %} {%- endmacro %}
@ -119,5 +118,4 @@
} }
})(); })();
</script> </script>
<script defer type="text/javascript" src="/docs/shared/script.js"></script>
{% endblock %} {% endblock %}