Skip to content

Commit

Permalink
Merge pull request #168 from bscheshirwork/static-icon-class-prefix
Browse files Browse the repository at this point in the history
Update Menu.php
  • Loading branch information
schmunk42 authored Jul 6, 2018
2 parents 073d5fd + 33360b3 commit 613821a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function renderItem($item)
$replacements = [
'{label}' => strtr($this->labelTemplate, ['{label}' => $item['label'],]),
'{icon}' => empty($item['icon']) ? $this->defaultIconHtml
: '<i class="' . self::$iconClassPrefix . $item['icon'] . '"></i> ',
: '<i class="' . static::$iconClassPrefix . $item['icon'] . '"></i> ',
'{url}' => isset($item['url']) ? Url::to($item['url']) : 'javascript:void(0);',
];

Expand Down

0 comments on commit 613821a

Please sign in to comment.