Commits

Freek Dijkstra  committed 4bb84d0

Local search support for Chrome. Fixes #505, #723, #782

  • Participants
  • Parent commits b799dcd

Comments (0)

Files changed (1)

File sphinx/themes/basic/search.html

 {% set title = _('Search') %}
 {% set script_files = script_files + ['_static/searchtools.js'] %}
 {% block extrahead %}
-  <script type="text/javascript">
-    jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); });
-  </script>
+  <script type="text/javascript" src="{{ pathto('searchindex.js', 1) }}"></script>
   {{ super() }}
 {% endblock %}
 {% block body %}