From f33466af01fb8de2c1278606090ee0cdf6d275b4 Mon Sep 17 00:00:00 2001 From: dignajar Date: Thu, 23 Jul 2020 12:59:37 +0200 Subject: [PATCH] Removed default async property for Javascript --- bl-kernel/helpers/theme.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bl-kernel/helpers/theme.class.php b/bl-kernel/helpers/theme.class.php index 49200f8b..9582e303 100644 --- a/bl-kernel/helpers/theme.class.php +++ b/bl-kernel/helpers/theme.class.php @@ -206,7 +206,7 @@ class Theme { return $links; } - public static function javascript($files, $base=DOMAIN_THEME, $attributes="async") + public static function javascript($files, $base=DOMAIN_THEME, $attributes='') { if( !is_array($files) ) { $files = array($files); @@ -220,7 +220,7 @@ class Theme { return $scripts; } - public static function js($files, $base=DOMAIN_THEME, $attributes="async") + public static function js($files, $base=DOMAIN_THEME, $attributes='') { return self::javascript($files, $base, $attributes); } @@ -251,9 +251,9 @@ class Theme { return ''.PHP_EOL; } - public static function jsBootstrap() + public static function jsBootstrap($attributes='') { - return ''.PHP_EOL; + return ''.PHP_EOL; } public static function cssBootstrap() @@ -266,10 +266,10 @@ class Theme { return ''.PHP_EOL; } - public static function jsSortable() + public static function jsSortable($attributes='') { // https://github.com/psfpro/bootstrap-html5sortable - return ''.PHP_EOL; + return ''.PHP_EOL; } }