Add back menu tooltips

This commit is contained in:
Matias Arriola 2022-01-25 11:21:15 -03:00
parent 69cccb40b4
commit 86ef5ee9da

View File

@ -325,6 +325,21 @@ class Menu extends IMenu {
Menu._registerTooltip('discard', $msg('DISCARD_CHANGES')); Menu._registerTooltip('discard', $msg('DISCARD_CHANGES'));
} }
const shareElem = $('#shareIt');
if (shareElem.length !== 0) {
Menu._registerTooltip('shareIt', $msg('COLLABORATE'));
}
const publishElem = $('#publishIt');
if (publishElem.length !== 0) {
Menu._registerTooltip('publishIt', $msg('PUBLISH'));
}
const historyElem = $('#history');
if (historyElem.length !== 0) {
Menu._registerTooltip('history', $msg('HISTORY'));
}
// Keyboard Shortcuts Action ... // Keyboard Shortcuts Action ...
const keyboardShortcut = $('#keyboardShortcuts'); const keyboardShortcut = $('#keyboardShortcuts');
if (keyboardShortcut.length !== 0) { if (keyboardShortcut.length !== 0) {