From 2b9213eb1f071393f38c07b4f037bb296312c793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 29 Sep 2017 14:48:37 +0200 Subject: [PATCH] Only import tree.js in the tree view page --- lookyloo/templates/main.html | 1 - lookyloo/templates/tree.html | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lookyloo/templates/main.html b/lookyloo/templates/main.html index fce730b4..d8522a15 100644 --- a/lookyloo/templates/main.html +++ b/lookyloo/templates/main.html @@ -3,7 +3,6 @@ {% block scripts %} {{ super() }} - {% endblock %} {% block head %} diff --git a/lookyloo/templates/tree.html b/lookyloo/templates/tree.html index c0c85393..b2a99726 100644 --- a/lookyloo/templates/tree.html +++ b/lookyloo/templates/tree.html @@ -2,7 +2,10 @@ {% block title %}Tree{% endblock %} - +{% block scripts %} + {{ super() }} + +{% endblock %} {% block content %} {{super()}}