Skip to content

Commit 38689d8

Browse files
committed
Toolbar buttons tooltip: fallback to label if no help
1 parent d7f86ef commit 38689d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/static/notebook/js/toolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ define(['jquery','base/js/i18n'], function($, i18n) {
9494
}
9595
var button = $('<button/>')
9696
.addClass('btn btn-default')
97-
.attr("title", i18n.msg._(action.help))
97+
.attr("title", i18n.msg._(action.help)||el.label)
9898
.append(
9999
$("<i/>").addClass(el.icon||(action||{icon:'fa-exclamation-triangle'}).icon).addClass('fa')
100100
);

0 commit comments

Comments
 (0)