loleaflet/src/control/Control.Menubar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7026a9ad069c44fae9504de8e0a8b7eba7e8eb1c Author: Tamás Zolnai <[email protected]> AuthorDate: Mon Mar 23 18:33:29 2020 +0100 Commit: Tamás Zolnai <[email protected]> CommitDate: Mon Mar 23 20:52:08 2020 +0100 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 <[email protected]> Reviewed-by: Tamás Zolnai <[email protected]> diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 643850b16..5d24b7ebf 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -902,7 +902,7 @@ L.Control.Menubar = L.Control.extend({ window.mobileMenuWizard = true; var menuData = self._map.menubar.generateFullMenuStructure(); self._map.fire('mobilewizard', menuData); - $('#toolbar-hamburger').addClass('menuwizard-opened'); + $('#toolbar-hamburger').removeClass('menuwizard-closed').addClass('menuwizard-opened'); $('#mobile-wizard-header').hide(); } } else if (!L.Browser.mobile) { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
