Skip to content

Commit

Permalink
Merge pull request #54 from happyDemon/master
Browse files Browse the repository at this point in the history
If the icon type is not supported, render it in an <i> tag
  • Loading branch information
kaidesu committed Jul 19, 2015
2 parents 8e36fa4 + 6492237 commit a98d111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Caffeinated/Menus/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function icon($icon, $type = 'fontawesome')
break;

default:
$html = '';
$html = '<i class="'.$icon.'"></i>';
break;
}

Expand Down

0 comments on commit a98d111

Please sign in to comment.