From 64d1ab7b59613cea10f3b0b271b52e03b4dd1421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 2 Apr 2019 15:45:19 +0200 Subject: [PATCH] Fix assets in horde-map template --- templates/horde-map.html.twig | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/templates/horde-map.html.twig b/templates/horde-map.html.twig index 8b8596b..91e9917 100644 --- a/templates/horde-map.html.twig +++ b/templates/horde-map.html.twig @@ -5,6 +5,7 @@ {% do assets.addJs('https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js') %} {% do assets.addJs('https://cdn.jsdelivr.net/gh/dusterthefirst/Login-With-Discord/dist/lwd.js') %} {% do assets.addJs('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js') %} + {% do assets.addJs('/horde-map/assets/map.js', {group: 'bottom'}) %} {{ parent() }} @@ -18,15 +19,6 @@ {% endblock %} -{% block bottom %} - {{ parent() }} - - {% do assets.addJs('/horde-map/assets/map.js') %} - - {{ assets.js() }} - -{% endblock %} - {% block content %} {{ page.content }}