Deux lignes pour les JS

This commit is contained in:
Fred Tempez 2023-03-20 14:46:46 +01:00
parent 3a74afcb18
commit f9c866dadb

View File

@ -1043,7 +1043,8 @@ class layout extends common
if ($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>';
}
/**