From 5a7e382efb51e63b75fb99cc531efc6c490d9c32 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 30 Nov 2020 11:26:09 -0800 Subject: [PATCH] Fixes #4272 - fixed JS file loading order so that inline code is run after cached scripts. --- e107_core/templates/header_default.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_core/templates/header_default.php b/e107_core/templates/header_default.php index eede15f357..088a124981 100644 --- a/e107_core/templates/header_default.php +++ b/e107_core/templates/header_default.php @@ -564,10 +564,11 @@ function render_meta($type) }); ",'prototype',5); +e107::getJs()->renderCached('js'); e107::getJs()->renderJs('header_inline', 5); -e107::getJs()->renderCached('js'); + echo "\n";