From 8460f61e942b3c3c7130ecb80756fabbf2f0653b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20K=C5=82os?= Date: Tue, 12 Mar 2019 11:49:21 +0100 Subject: [PATCH] Show normal statusbar in narrow window --- loleaflet/src/control/toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',