From 975464efb60d2f64da98c3a8a3664bd2eaf89186 Mon Sep 17 00:00:00 2001 From: Asnxthaony Date: Mon, 25 May 2020 19:21:36 +0800 Subject: [PATCH] remove defer attr --- app/Http/View/Composers/FootComposer.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Http/View/Composers/FootComposer.php b/app/Http/View/Composers/FootComposer.php index 45735cf4..756e798e 100644 --- a/app/Http/View/Composers/FootComposer.php +++ b/app/Http/View/Composers/FootComposer.php @@ -48,12 +48,10 @@ class FootComposer $locale = app()->getLocale(); $scripts[] = [ 'src' => $this->javascript->generate($locale), - 'defer' => true, ]; if ($pluginI18n = $this->javascript->plugin($locale)) { $scripts[] = [ 'src' => $pluginI18n, - 'defer' => true, ]; } if (Str::startsWith(config('app.asset.env'), 'dev')) {