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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 12 10:51:43 UTC 2019


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

New commits:
commit 8460f61e942b3c3c7130ecb80756fabbf2f0653b
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Mar 12 11:49:21 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Tue Mar 12 11:51:32 2019 +0100

    Show normal statusbar in narrow window

diff --git a/loleaflet/src/control/toolbar.js b/loleaflet/src/control/toolbar.js
index 9975c7b4b..25cc0fe98 100644
--- a/loleaflet/src/control/toolbar.js
+++ b/loleaflet/src/control/toolbar.js
@@ -975,7 +975,7 @@ function initNormalToolbar() {
 	});
 
 	toolbar = $('#toolbar-down');
-	if ($('#main-menu').css('display') !== 'none') {
+	if (!window.mode.isMobile()) {
 		toolbar.w2toolbar({
 			name: 'actionbar',
 			tooltip: 'top',


More information about the Libreoffice-commits mailing list