Skip to content

Commit

Permalink
Merge pull request ipython#8159 from Carreau/no-action-icon
Browse files Browse the repository at this point in the history
Fix action do not provide icon.
  • Loading branch information
minrk committed Mar 27, 2015
2 parents 865ed70 + 85d64d9 commit 673f412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/html/static/notebook/js/toolbar.js
Expand Up @@ -124,7 +124,7 @@ define([
.addClass('btn btn-default')
.attr("title", el.label||action.help)
.append(
$("<i/>").addClass(el.icon||action.icon).addClass('fa')
$("<i/>").addClass(el.icon||(action||{icon:'fa-exclamation-triangle'}).icon).addClass('fa')
);
var id = el.id;
if( id !== undefined ){
Expand Down

0 comments on commit 673f412

Please sign in to comment.