diff options
author | Aron Budea <aron.budea@collabora.com> | 2020-06-17 09:12:16 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-06-18 14:12:25 +0200 |
commit | 2b74a3f26140a3ad1826ca26805c3a4aa3cb4f1d (patch) | |
tree | bbf8c4c33c729c0d7167c1ffeaedcd77fac29655 | |
parent | cypress: these test are failing recently. (diff) | |
download | online-2b74a3f26140a3ad1826ca26805c3a4aa3cb4f1d.tar.gz online-2b74a3f26140a3ad1826ca26805c3a4aa3cb4f1d.zip |
loleaflet: Show presentation controls on tablets
regression from an unknown commit
Change-Id: Iad36563c9a6c7588f12610ccd2fe18eef38628bb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96514
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
(cherry picked from commit a777fcc4d6dd8705c19d4598eda7614ff6c196fa)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96574
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | loleaflet/src/control/Control.UIManager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/control/Control.UIManager.js b/loleaflet/src/control/Control.UIManager.js index 9c1b3e7f6b..5cb657a255 100644 --- a/loleaflet/src/control/Control.UIManager.js +++ b/loleaflet/src/control/Control.UIManager.js @@ -90,7 +90,7 @@ L.Control.UIManager = L.Control.extend({ this.map.addControl(L.control.formulaBar()); } - if (isDesktop && docType === 'presentation') { + if (docType === 'presentation' && (isDesktop || window.mode.isTablet())) { this.map.addControl(L.control.presentationBar()); } |