diff --git a/src/PopperAsset.php b/src/PopperAsset.php index 0adecab..ce66ecd 100644 --- a/src/PopperAsset.php +++ b/src/PopperAsset.php @@ -23,7 +23,7 @@ public function init(): void $assetPopper = YII_ENV === 'prod' ? ['popper.min.js'] : ['popper.js']; $assetPopperMap = YII_ENV === 'prod' ? ['popper.min.js.map'] : ['popper.js.map']; - $this->css = $assetPopper; + $this->js = $assetPopper; $this->publishOptions['only'] = array_merge($assetPopper, $assetPopperMap); } }