Skip to content

Commit

Permalink
the call to JS moved to the tmpl/default.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ylahav committed Dec 30, 2018
1 parent eebe57c commit 1a8f6bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/mod_menu/mod_menu.php
Expand Up @@ -13,8 +13,6 @@
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Module\Menu\Site\Helper\MenuHelper;

HTMLHelper::_('script', 'mod_menu/menu.es6.min.js', array('version' => 'auto', 'relative' => true));

$list = MenuHelper::getList($params);
$base = MenuHelper::getBase($params);
$active = MenuHelper::getActive($params);
Expand Down
2 changes: 2 additions & 0 deletions modules/mod_menu/tmpl/default.php
Expand Up @@ -11,6 +11,8 @@

use Joomla\CMS\Helper\ModuleHelper;

HTMLHelper::_('script', 'mod_menu/menu.min.js', array('version' => 'auto', 'relative' => true));

$id = '';

if ($tagId = $params->get('tag_id', ''))
Expand Down

0 comments on commit 1a8f6bf

Please sign in to comment.