[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - loleaflet/js

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


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

New commits:
commit 6bcc2898f01c97f52605fd79967a87b909bd8a26
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:49:21 2019 +0100

    Show normal statusbar in narrow window

diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js
index b6c13c35e..348e0063f 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -1154,7 +1154,7 @@ function initNormalToolbar(toolItems) {
 	});
 
 	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