aboutsummaryrefslogtreecommitdiff
path: root/app/templates/annotate/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/annotate/index.html')
-rw-r--r--app/templates/annotate/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/templates/annotate/index.html b/app/templates/annotate/index.html
index 61233a8..5360bf8 100644
--- a/app/templates/annotate/index.html
+++ b/app/templates/annotate/index.html
@@ -52,9 +52,13 @@
{% block scripts %}
{{ super() }}
<script src="//d3js.org/d3.v5.min.js"></script>
- <script src="{{ url_for('static', filename='js/makeChart.js') }}"></script>
<script src="{{ url_for('static', filename='js/updateTable.js') }}"></script>
<script src="{{ url_for('static', filename='js/buttons.js') }}"></script>
+ {% if is_multi %}
+ <script src="{{ url_for('static', filename='js/makeChartMulti.js') }}"></script>
+ {% else %}
+ <script src="{{ url_for('static', filename='js/makeChart.js') }}"></script>
+ {% endif %}
<script>annotateChart("#graph", {{ data.chart_data | tojson }});</script>
<script>
// reset button