remove defer attr
This commit is contained in:
parent
9bcace175d
commit
975464efb6
@ -48,12 +48,10 @@ class FootComposer
|
|||||||
$locale = app()->getLocale();
|
$locale = app()->getLocale();
|
||||||
$scripts[] = [
|
$scripts[] = [
|
||||||
'src' => $this->javascript->generate($locale),
|
'src' => $this->javascript->generate($locale),
|
||||||
'defer' => true,
|
|
||||||
];
|
];
|
||||||
if ($pluginI18n = $this->javascript->plugin($locale)) {
|
if ($pluginI18n = $this->javascript->plugin($locale)) {
|
||||||
$scripts[] = [
|
$scripts[] = [
|
||||||
'src' => $pluginI18n,
|
'src' => $pluginI18n,
|
||||||
'defer' => true,
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
if (Str::startsWith(config('app.asset.env'), 'dev')) {
|
if (Str::startsWith(config('app.asset.env'), 'dev')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user