From 58f3807b8d0de86f5fa902e4c5f04f7d1a48ebc9 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Wed, 1 Nov 2023 19:14:21 -0500 Subject: [PATCH] Try moving js to body end --- templates/base.html | 218 ++++++++++++++-------------- templates/chat/chat.html | 5 +- templates/chat/message_list.html | 6 +- templates/three-column-content.html | 6 +- 4 files changed, 120 insertions(+), 115 deletions(-) diff --git a/templates/base.html b/templates/base.html index f36cd30..be290a7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -75,112 +75,6 @@ {% endcompress %} {% endif %} - {% if not INLINE_JQUERY %} - - {% endif %} - - {% compress js %} - - {% if INLINE_JQUERY %} - - {% endif %} - - - - - - - {% include "extra_js.html" %} - - - - {% endcompress %} - - {% block js_media %}{% endblock %} - {% if request.in_contest %} - - {% endif %} - - {% if request.user.is_authenticated %} - - {% else %} - - {% endif %} - - {% if misc_config.analytics %} - {{ misc_config.analytics|safe }} - {% endif %} - - {# Don't run userscript since it may be malicious #} - {% if request.user.is_authenticated and request.profile.user_script and not request.user.is_impersonate %} - - {% endif %}