mobile: fix the class of toolbar-hamburger after close.
When we opened again it had both 'menuwizard-opened' and 'menuwizard-closed' classes. Change-Id: Ia47bff467f55639a7bebb8ba640604b2617a48d7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90934 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
parent
823207f244
commit
7026a9ad06
1 changed files with 1 additions and 1 deletions
|
@ -902,7 +902,7 @@ L.Control.Menubar = L.Control.extend({
|
||||||
window.mobileMenuWizard = true;
|
window.mobileMenuWizard = true;
|
||||||
var menuData = self._map.menubar.generateFullMenuStructure();
|
var menuData = self._map.menubar.generateFullMenuStructure();
|
||||||
self._map.fire('mobilewizard', menuData);
|
self._map.fire('mobilewizard', menuData);
|
||||||
$('#toolbar-hamburger').addClass('menuwizard-opened');
|
$('#toolbar-hamburger').removeClass('menuwizard-closed').addClass('menuwizard-opened');
|
||||||
$('#mobile-wizard-header').hide();
|
$('#mobile-wizard-header').hide();
|
||||||
}
|
}
|
||||||
} else if (!L.Browser.mobile) {
|
} else if (!L.Browser.mobile) {
|
||||||
|
|
Loading…
Reference in a new issue