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

Fixes #4272 - fixed JS file loading order so that inline code is run after cached scripts.

This commit is contained in:
Cameron
2020-11-30 11:26:09 -08:00
parent 072c1b3a90
commit 5a7e382efb

View File

@@ -564,10 +564,11 @@ e107Event.trigger('loaded', null, document);
}); });
",'prototype',5); ",'prototype',5);
e107::getJs()->renderCached('js');
e107::getJs()->renderJs('header_inline', 5); e107::getJs()->renderJs('header_inline', 5);
e107::getJs()->renderCached('js');
echo "</head>\n"; echo "</head>\n";