forked from leftypol/leftypol
Refactor deferred js
This commit is contained in:
parent
e0cec8ee5a
commit
4379135437
4 changed files with 36 additions and 35 deletions
|
@ -1737,7 +1737,7 @@ function buildJavascript() {
|
|||
}
|
||||
|
||||
if ($config['additional_javascript_compile']) {
|
||||
foreach ($config['additional_javascript'] as $file) {
|
||||
foreach (array_merge($config['additional_javascript'], $config['additional_javascript_defer']) as $file) {
|
||||
$script .= file_get_contents($file);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue