diff options
Diffstat (limited to 'app/Helper/AssetHelper.php')
-rw-r--r-- | app/Helper/AssetHelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/AssetHelper.php b/app/Helper/AssetHelper.php index dad1448a..c2ab8551 100644 --- a/app/Helper/AssetHelper.php +++ b/app/Helper/AssetHelper.php @@ -21,7 +21,7 @@ class AssetHelper extends Base */ public function js($filename, $async = false) { - return '<script '.($async ? 'async' : '').' type="text/javascript" src="'.$this->helper->url->dir().$filename.'?'.filemtime($filename).'"></script>'; + return '<script '.($async ? 'async' : '').' defer type="text/javascript" src="'.$this->helper->url->dir().$filename.'?'.filemtime($filename).'"></script>'; } /** |