Deux lignes pour les JS
This commit is contained in:
parent
3a74afcb18
commit
f9c866dadb
@ -1043,7 +1043,8 @@ class layout extends common
|
|||||||
if ($this->core->output['inlineScript']) {
|
if ($this->core->output['inlineScript']) {
|
||||||
$inlineScript = implode($this->core->output['inlineScript']);
|
$inlineScript = implode($this->core->output['inlineScript']);
|
||||||
}
|
}
|
||||||
echo '<script defer>' . helper::minifyJs($coreScript . $this->core->output['script'] . htmlspecialchars_decode($inlineScript)) . '</script>';
|
echo '<script defer>' . helper::minifyJs($coreScript . $this->core->output['script'] ) . '</script>';
|
||||||
|
echo '<script defer>' . htmlspecialchars_decode(helper::minifyJs($inlineScript)) . '</script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user