aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/includes
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-19 14:12:28 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-19 14:12:28 +0100
commite0f837ddd8ff434b1ef3429f6a709263350194ce (patch)
tree6f752fa2cb602d63dec09bb3f2d22ecce39d3d7c /pydis_site/templates/wiki/includes
parentInitial template cleanup (diff)
Move JS into files
Diffstat (limited to 'pydis_site/templates/wiki/includes')
-rw-r--r--pydis_site/templates/wiki/includes/editor_sidebar.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/pydis_site/templates/wiki/includes/editor_sidebar.html b/pydis_site/templates/wiki/includes/editor_sidebar.html
index 2eebb80f..5c24e74d 100644
--- a/pydis_site/templates/wiki/includes/editor_sidebar.html
+++ b/pydis_site/templates/wiki/includes/editor_sidebar.html
@@ -1,4 +1,4 @@
-{% load i18n sekizai_tags %}
+{% load i18n sekizai_tags static %}
<section class="accordions">
{% for plugin, plugin_form in sidebar %}
@@ -35,6 +35,4 @@
{% endfor %}
</section>
-<script type="application/javascript">
- bulmaAccordion.attach();
-</script>
+<script type="application/javascript" src="{% static "js/wiki/editor_sidebar.js" %}"></script>