Renaming block inlinejs to footer

This commit is contained in:
Eric Hough 2014-02-28 15:00:09 -05:00
parent abbd075ebe
commit e16b8a830a
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@
</script> </script>
{% endif %} {% endif %}
{%- block inlinejs %} {% endblock %} {%- block footer %} {% endblock %}
</body> </body>
</html> </html>

View File

@ -10,7 +10,7 @@
{%- extends "layout.html" %} {%- extends "layout.html" %}
{% set title = _('Search') %} {% set title = _('Search') %}
{% set script_files = script_files + ['_static/searchtools.js'] %} {% set script_files = script_files + ['_static/searchtools.js'] %}
{% block inlinejs %} {% block footer %}
<script type="text/javascript"> <script type="text/javascript">
jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); }); jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); });
</script> </script>