From dcb58a6e148e7149a17cec71756cc5790011ca67 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 3 Jul 2014 00:16:01 -0400 Subject: [PATCH] Move Javascript loading to the bottom of the page --- .../web_theme/templates/web_theme_base.html | 63 ++++++++++--------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/mayan/apps/web_theme/templates/web_theme_base.html b/mayan/apps/web_theme/templates/web_theme_base.html index ffd41d89ab..e10da224d7 100644 --- a/mayan/apps/web_theme/templates/web_theme_base.html +++ b/mayan/apps/web_theme/templates/web_theme_base.html @@ -40,35 +40,6 @@ {% block web_theme_stylesheets %}{% endblock %} {% endcompress %} - - {% compress js %} - - - {% if enable_scroll_js %} - - - {% endif %} - - {% block web_theme_javascript %}{% endblock %} - - - {% endcompress %}
@@ -101,8 +72,8 @@ {% endfor %} @@ -124,5 +95,35 @@
{% endif %} + + {% compress js %} + + + {% if enable_scroll_js %} + + + {% endif %} + + {% block web_theme_javascript %}{% endblock %} + + + {% endcompress %} +