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

Skip to content

Commit adbc7b1

Browse files
committed
Fix searchindex.js loading when ajax fails (because e.g. CORS)
1 parent c178929 commit adbc7b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/_templates/search.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ <h2>{{ _('Search Results') }}</h2>
4444
<script type="text/javascript">
4545
jQuery(function() { Search.loadIndex("searchindex.js"); });
4646
</script>
47+
<script type="text/javascript" id="searchindexloader"></script>
4748
{% endblock %}

0 commit comments

Comments
 (0)