mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Merge pull request #8159 from Carreau/no-action-icon
Fix action do not provide icon.
This commit is contained in:
commit
7673c151a3
@ -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 ){
|
||||
|
Loading…
Reference in New Issue
Block a user