Skip to content

Commit

Permalink
If the icon type is not supported, render it in an <i> tag, allows su…
Browse files Browse the repository at this point in the history
…pport for all icon vendors
  • Loading branch information
happyDemon committed Jul 19, 2015
1 parent 8e36fa4 commit 6492237
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 6492237

Please sign in to comment.