Added call to load schematics on wiki pages.

This commit is contained in:
Bridger Maxwell
2012-09-13 12:38:28 -04:00
parent b4142246fe
commit a3760d484d
2 changed files with 7 additions and 0 deletions

View File

@@ -31,6 +31,9 @@
{% addtoblock 'js' %}
{% comment %} These scripts load at the bottom of the body {% endcomment %}
<script>
window.onload = add_schematic_handler(window.onload);
</script>
<script src="{% static 'js/bootstrap-alert.js' %}"></script>
<script src="{% static 'js/bootstrap-collapse.js' %}"></script>

View File

@@ -41,6 +41,10 @@
{% compressed_js 'application' %}
{% compressed_js 'module-js' %}
<script>
window.onload = add_schematic_handler(window.onload);
</script>
{% with mathjax_mode='wiki' %}
{% include "mathjax_include.html" %}
{% endwith %}