From 78cba1e217e5ee43a5cbb040cd37c5be1c292f61 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 4 Jan 2025 17:40:27 -0800 Subject: [PATCH] ui: Don't place JS file at the bottom of the page - They should only be present in the . Since all files are loaded with 'defer' attribute, it is no longer needed to place the JS files at the bottom of the page. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/templates/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/templates/base.html b/plinth/templates/base.html index 813a476e5..c32e8f0fd 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -64,6 +64,8 @@ + {% block app_js %}{% endblock %} + {% block page_js %}{% endblock %} {% if refresh_page_sec is not None %}