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;
}
}