Skip to content

Commit

Permalink
HTMLHelper::_('bootstrap.framework') inside if
Browse files Browse the repository at this point in the history
  • Loading branch information
ReLater committed May 16, 2019
1 parent aa70678 commit 1429649
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/joomla/toolbar/dropdown.php
Expand Up @@ -13,8 +13,6 @@
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

HTMLHelper::_('bootstrap.framework');

$direction = Factory::getLanguage()->isRtl() ? 'dropdown-menu-right' : '';


Expand All @@ -35,6 +33,7 @@
extract($displayData, EXTR_OVERWRITE);
?>
<?php if ($hasButtons && trim($button) !== ''): ?>
<?php HTMLHelper::_('bootstrap.framework'); ?>
<div id="<?php echo $id; ?>" class="btn-group dropdown-<?php echo $name ?? ''; ?>" role="group">
<?php echo $button; ?>

Expand Down

0 comments on commit 1429649

Please sign in to comment.