Commits

Mike Bayer committed 7bdd129

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

  • Participants
  • Parent commits 463969f
  • Branches rel_0_5

Comments (0)

Files changed (1)

File 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>