1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 02:00:14 +02:00

Testing of loading all javascript in the footer. Add the following to e107_config.php to test: define('e_DEBUG_JS_FOOTER', true);

This commit is contained in:
Cameron
2021-01-25 13:23:28 -08:00
parent 46af21d105
commit 1479e9ba59
2 changed files with 36 additions and 58 deletions

View File

@@ -280,6 +280,14 @@ if ((ADMIN == true || $pref['developer']) && count($error_handler->errors) && $e
//
// E Last themed footer code, usually JS
//
if(deftrue('e_DEBUG_JS_FOOTER'))
{
renderAllJavascript();
}
if (function_exists('theme_foot'))
{
echo theme_foot();