feat: Add tooltip to hide menu button (compact view)
Signed-off-by: Maks Wolkowinski <m.wolkowinski@beebuzziness.com> Change-Id: I05011bf9ffec99af8558c7af06dce5e350511f7c
This commit is contained in:
parent
8310af30f0
commit
31ae779d82
2 changed files with 3 additions and 3 deletions
|
@ -245,7 +245,7 @@ L.Control.TopToolbar = L.Control.extend({
|
|||
{type: 'button', id: 'customanimation', img: 'sidebar_custom_animation', hint: _UNO('.uno:CustomAnimation', 'presentation', true), uno: '.uno:CustomAnimation', hidden: true},
|
||||
{type: 'button', id: 'masterslidespanel', img: 'sidebar_master_slides', hint: _UNO('.uno:MasterSlidesPanel', 'presentation', true), uno: '.uno:MasterSlidesPanel', hidden: true},
|
||||
{type: 'button', id: 'navigator', img: 'navigator', hint: _UNO('.uno:Navigator'), uno: '.uno:Navigator', hidden: true},
|
||||
{type: 'button', id: 'fold', img: 'fold', desktop: true, mobile: false, hidden: true},
|
||||
{type: 'button', id: 'fold', img: 'fold', hint: _('Hide Menu'), desktop: true, mobile: false, hidden: true},
|
||||
{type: 'button', id: 'hamburger-tablet', img: 'fold', desktop: false, mobile: false, tablet: true, iosapptablet: false, hidden: true},
|
||||
];
|
||||
},
|
||||
|
|
|
@ -661,7 +661,7 @@ L.Control.UIManager = L.Control.extend({
|
|||
var obj = $('.unfold');
|
||||
obj.removeClass('w2ui-icon unfold');
|
||||
obj.addClass('w2ui-icon fold');
|
||||
|
||||
$('#tb_editbar_item_fold').prop('title', _('Hide Menu'));
|
||||
},
|
||||
|
||||
hideMenubar: function() {
|
||||
|
@ -675,7 +675,7 @@ L.Control.UIManager = L.Control.extend({
|
|||
var obj = $('.fold');
|
||||
obj.removeClass('w2ui-icon fold');
|
||||
obj.addClass('w2ui-icon unfold');
|
||||
|
||||
$('#tb_editbar_item_fold').prop('title', _('Show Menu'));
|
||||
},
|
||||
|
||||
isMenubarHidden: function() {
|
||||
|
|
Loading…
Reference in a new issue