Only import tree.js in the tree view page

pull/1/head
Raphaël Vinot 2017-09-29 14:48:37 +02:00
parent 8d9122b36c
commit 2b9213eb1f
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,6 @@
{% block scripts %}
{{ super() }}
<script src='{{ url_for('static', filename='d3.v4.min.js') }}'></script>
<script src='{{ url_for('static', filename='tree.js') }}'></script>
{% endblock %}
{% block head %}

View File

@ -2,7 +2,10 @@
{% block title %}Tree{% endblock %}
{% block scripts %}
{{ super() }}
<script src='{{ url_for('static', filename='tree.js') }}'></script>
{% endblock %}
{% block content %}
{{super()}}