[Libreoffice-commits] online.git: loleaflet/src
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 15 19:17:06 UTC 2019
loleaflet/src/control/Control.Menubar.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3e42e34a7c1151d963973b87bc2b6edf47c4809a
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Tue Oct 15 21:16:40 2019 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Oct 15 21:16:40 2019 +0200
mobile-menu: Make sure that main-nav element is hidden
Change-Id: I94e9fe572089f77cd721a9c157bf24a8ae5e3dcf
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 40900d170..236a60a77 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -800,6 +800,7 @@ L.Control.Menubar = L.Control.extend({
var menuData = self._map.menubar.generateFullMenuStructure();
self._map.fire('mobilewizard', menuData);
$('#main-menu-btn-icon').css('filter', 'drop-shadow(0px 0px 4px #0b87e7)')
+ $nav.css({height:'', bottom: ''});
}
} else if (!L.Browser.mobile) {
$menu.show().slideUp(250, function() { $menu.css('display', ''); });
@@ -808,6 +809,7 @@ L.Control.Menubar = L.Control.extend({
window.mobileMenuWizard = false;
self._map.fire('closemobilewizard');
$('#main-menu-btn-icon').css('filter', '')
+ $nav.css({height:'', bottom: ''});
}
});
// hide mobile menu beforeunload
More information about the Libreoffice-commits
mailing list