title for notebook label in notebook toolbar
This commit is contained in:
parent
77ff6eb03b
commit
6af49913c2
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export class ActionViewWithLabel extends MenuEntryActionViewItem {
|
|||
if (this._actionLabel) {
|
||||
this._actionLabel.classList.add('notebook-label');
|
||||
this._actionLabel.innerText = this._action.label;
|
||||
this._actionLabel.title = this._action.tooltip;
|
||||
this._actionLabel.title = this._action.tooltip.length ? this._action.tooltip : this._action.label;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue