From b6e434489346a833c29c14bdfa63b3bd770c850e Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 24 Sep 2018 11:56:48 +0200 Subject: [PATCH] Fix JavaScript not being load before the code using it. --- templates/base.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/base.html b/templates/base.html index f6cf3c39..8b661259 100644 --- a/templates/base.html +++ b/templates/base.html @@ -41,6 +41,11 @@ with this program; if not, write to the Free Software Foundation, Inc., + {# Preload JavaScript #} + {% bootstrap_javascript %} + + + {# Load CSS #} {% bootstrap_css %} @@ -265,8 +270,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {# Load JavaScript #} - {% bootstrap_javascript %} - @@ -275,7 +278,6 @@ with this program; if not, write to the Free Software Foundation, Inc., let s = Sapphire(); Konami(s.activate); - {# Read the documentation for more information #}