mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Toolbar buttons tooltip: show help instead of label
This commit is contained in:
parent
ebd2b5701c
commit
d7f86ef6d3
@ -94,7 +94,7 @@ define(['jquery','base/js/i18n'], function($, i18n) {
|
||||
}
|
||||
var button = $('<button/>')
|
||||
.addClass('btn btn-default')
|
||||
.attr("title", el.label||i18n.msg._(action.help))
|
||||
.attr("title", i18n.msg._(action.help))
|
||||
.append(
|
||||
$("<i/>").addClass(el.icon||(action||{icon:'fa-exclamation-triangle'}).icon).addClass('fa')
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user