Commits

Mike Bayer committed 967d5f6

update the search to call searchindex.js in the latest way
sphinx decides we should be, [ticket:2408]

Comments (0)

Files changed (1)

doc/build/templates/search.mako

     ${_('Search')}
 </%block>
 
+<%block name="headers">
+    ${parent.headers()}
+    <script type="text/javascript">
+        jQuery(function() { Search.loadIndex("searchindex.js"); });
+    </script>
+</%block>
+
 <div id="searchform">
 <h3>Enter Search Terms:</h3>
 <form class="search" action="${pathto('search')}" method="get">
 
 <%block name="footer">
     ${parent.footer()}
-    <script type="text/javascript" src="searchindex.js"></script>
 </%block>