mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +01:00
Add back menu tooltips
This commit is contained in:
parent
69cccb40b4
commit
86ef5ee9da
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user