8000 Merge pull request #15663 from meeseeksmachine/auto-backport-of-pr-15… · QuLogic/matplotlib@2ddd1c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ddd1c6

Browse files
authored
Merge pull request matplotlib#15663 from meeseeksmachine/auto-backport-of-pr-15649-on-v2.2.x
Backport PR matplotlib#15649 on branch v2.2.x (Fix searchindex.js loading when ajax fails (because e.g. CORS in embedded iframes))
2 parents cf30f37 + cf79f10 commit 2ddd1c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/_templates/search.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,5 @@ <h2>{{ _('Search Results') }}</h2>
3838
{% endblock %}
3939
{% block footer %}
4040
{{ super() }}
41-
<script type="text/javascript">
42-
jQuery(function() { Search.loadIndex("searchindex.js"); });
43-
</script>
41+
<script type="text/javascript" src="{{ pathto('searchindex.js', 1) }}" defer></script>
4442
{% endblock %}

0 commit comments

Comments
 (0)
0