[Libreoffice-commits] online.git: loleaflet/src
gokaysatir (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 31 11:24:19 UTC 2020
loleaflet/src/control/Control.UIManager.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0334c4b04872add86ee5f4526286c231c8bb376c
Author: gokaysatir <gokaysatir at collabora.com>
AuthorDate: Fri Aug 28 11:17:03 2020 +0300
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Aug 31 13:24:00 2020 +0200
loleaflet: Tablet notebookbar special case.
Change-Id: I7acad9b8891cedac49f47746a61c8df6f19a1250
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101525
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
diff --git a/loleaflet/src/control/Control.UIManager.js b/loleaflet/src/control/Control.UIManager.js
index 3da1d6921..a4459e39e 100644
--- a/loleaflet/src/control/Control.UIManager.js
+++ b/loleaflet/src/control/Control.UIManager.js
@@ -114,7 +114,7 @@ L.Control.UIManager = L.Control.extend({
this.map.addControl(L.control.presentationBar());
}
- if (window.mode.isMobile() || window.mode.isTablet()) {
+ if (window.mode.isMobile() || (window.mode.isTablet() && !enableNotebookbar)) {
this.map.on('updatetoolbarcommandvalues', function() {
w2ui['editbar'].refresh();
});
More information about the Libreoffice-commits
mailing list