From 47f88404e728123a39c24d834ae90c293a9db39d Mon Sep 17 00:00:00 2001 From: Hanne Moa <hanne.moa@uninett.no> Date: Tue, 25 Oct 2016 14:17:44 +0200 Subject: [PATCH] Postload all javascript --- templates/base.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/base.twig b/templates/base.twig index 6274c301e..bdce5e018 100644 --- a/templates/base.twig +++ b/templates/base.twig @@ -3,7 +3,6 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0"> - <script type="text/javascript" src="/{{ baseurlpath }}resources/script.js"></script> <title>{{ pagetitle }}</title> <link rel="stylesheet" type="text/css" href="/{{ baseurlpath }}resources/default.css"> <link rel="icon" type="image/icon" href="/{{ baseurlpath }}resources/icons/favicon.ico"> @@ -27,5 +26,7 @@ </div><!-- #wrap --> + <!-- postload javascript --> + <script type="text/javascript" src="/{{ baseurlpath }}resources/script.js"></script> {% block postload %}{% endblock %} </body></html> -- GitLab