Skip to content

Commit

Permalink
Fixes #4272 - fixed JS file loading order so that inline code is run …
Browse files Browse the repository at this point in the history
…after cached scripts.
  • Loading branch information
CaMer0n committed Nov 30, 2020
1 parent 072c1b3 commit 5a7e382
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e107_core/templates/header_default.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 "</head>\n";
Expand Down

0 comments on commit 5a7e382

Please sign in to comment.