Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3608411

Browse files
authored
Merge pull request #15649 from jeroonk/master
DOC: remove ajax from searchindex loading
2 parents 55802ee + 4bed3f6 commit 3608411

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

doc/_templates/search.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,5 @@ <h2>{{ _('Search Results') }}</h2>
4141
{% endblock %}
4242
{% block footer %}
4343
{{ super() }}
44-
<script type="text/javascript">
45-
jQuery(function() { Search.loadIndex("searchindex.js"); });
46-
</script>
44+
<script type="text/javascript" src="{{ pathto('searchindex.js', 1) }}" defer></script>
4745
{% endblock %}

0 commit comments

Comments
 (0)