Skip to content

Commit

Permalink
Fixed icons in navigation bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfensdrfer committed Feb 4, 2014
1 parent 74af489 commit 1321b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EBootstrapNavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ protected function renderMenuRecursive($items, $sub = false) {
protected function renderMenuItem($item)
{
if (isset($item['icon']) and !empty($item['icon'])) {
$icon = '<i class="icon-'.$item['icon'];
$icon = '<span class="glyphicon glyphicon-'.$item['icon'];
if (isset($item['iconWhite']) and ($item['iconWhite'] == true))
$icon .= ' icon-white';
$icon .= '"></i> ';
$icon .= '"></span> ';
}
else {
$icon = '';
Expand Down

0 comments on commit 1321b5a

Please # to comment.