Skip to content

Commit

Permalink
Fix issue modal not load of Astroid Menu on Joomla 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Apr 17, 2024
1 parent adcb596 commit a8dd12a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/layouts/fields/astroidmenuoptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
extract($displayData);

$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->useScript('bootstrap.modal');
$wa->registerAndUseStyle('astroid.menuoptions.css', 'media/astroid/assets/vendor/astroidmenuoptions/dist/index.css');
$wa->registerAndUseScript('astroid.menuoptions.js', 'media/astroid/assets/vendor/astroidmenuoptions/dist/index.js', ['relative' => true, 'version' => 'auto'], ['type' => 'module']);
$wa->addInlineScript("(function ($) {
Expand Down

0 comments on commit a8dd12a

Please sign in to comment.