Skip to content

Commit

Permalink
Fix error typo asset. (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw authored Nov 23, 2023
1 parent 7ed7965 commit e94a580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PopperAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit e94a580

Please sign in to comment.