From 0650850320218e455d3e61207267fcc711d87cb6 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Mon, 11 Dec 2017 18:52:51 +0100 Subject: [PATCH] Change javascript loading-order jquery-ui relies on jquery being loaded first. Previous order doesn't play nice with modules that rely on jquery-ui. --- templates/base.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.twig b/templates/base.twig index 21162c6db..b23149333 100644 --- a/templates/base.twig +++ b/templates/base.twig @@ -36,6 +36,7 @@ </div> <!-- postload javascript --> + <script type="text/javascript" src="/{{ baseurlpath }}assets/js/lib/jquery-3.2.1.min.js"></script> {% spaceless %}{% if jquery %} {% set version = '1.8' %} {% if jquery.version %} @@ -50,7 +51,6 @@ {% endif %} {% endif %} {% endif %}{% endspaceless -%} - <script type="text/javascript" src="/{{ baseurlpath }}assets/js/lib/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="/{{ baseurlpath }}assets/js/lib/clipboard.min.js"></script> <script type="text/javascript" src="/{{ baseurlpath }}assets/js/lib/selectize.min.js"></script> <script type="text/javascript" src="/{{ baseurlpath }}assets/js/src/language.js"></script> -- GitLab