[Libreoffice-commits] online.git: loleaflet/src

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 23 19:52:26 UTC 2020


 loleaflet/src/control/Control.Menubar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7026a9ad069c44fae9504de8e0a8b7eba7e8eb1c
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon Mar 23 18:33:29 2020 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

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) {


More information about the Libreoffice-commits mailing list