From 5f8990e60eedc402e240a2c3718ff404340ed8e2 Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Sun, 29 Jul 2018 13:04:54 +0200 Subject: [PATCH] Move js_ressources to content block --- raspberry/python/templates/data_graph.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspberry/python/templates/data_graph.html.j2 b/raspberry/python/templates/data_graph.html.j2 index 42a3abc..6b2cc10 100644 --- a/raspberry/python/templates/data_graph.html.j2 +++ b/raspberry/python/templates/data_graph.html.j2 @@ -4,7 +4,6 @@ {% block styles %} {{super()}} {{ css_resources|safe }} - {{ js_resources|safe }} {% endblock %} {% block content %} @@ -48,6 +47,7 @@ +{{ js_resources|safe }} {{ plot_script|safe }} {% endblock %}