diff --git a/traits/AssetMaker.php b/traits/AssetMaker.php index c4b7f0e..9ac93de 100644 --- a/traits/AssetMaker.php +++ b/traits/AssetMaker.php @@ -124,6 +124,7 @@ public function addJs($name, $attributes = []) } $jsPath = $this->getAssetPath($name); + $attributes = $this->processAssetAttributes($attributes); if (isset($this->controller)) { $this->controller->addJs($jsPath, $attributes); diff --git a/updates/version.yaml b/updates/version.yaml index 9ea4e90..dc714c1 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -27,3 +27,5 @@ - Fix issue with LINK_POLICY 2.1.0: - Support Octobercms 3.1 +2.1.1: + - Fix issue with AssetMaker