[Libreoffice-commits] online.git: loleaflet/js
gokaysatir (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 16 13:24:27 UTC 2020
loleaflet/js/w2ui-1.5.rc1.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ebc46c8ecc8e32fa76847ef701db962a86c5a286
Author: gokaysatir <gokaysatir at collabora.com>
AuthorDate: Thu Jul 16 13:40:25 2020 +0300
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Thu Jul 16 15:24:07 2020 +0200
loleaflet: Hide tooltips on tablet.
Change-Id: I4c4381919b41cbe3b276a15d3070f56e3ce78359
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98894
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Henry Castro <hcastro at collabora.com>
diff --git a/loleaflet/js/w2ui-1.5.rc1.js b/loleaflet/js/w2ui-1.5.rc1.js
index 4ff42eed2..96a5320bd 100644
--- a/loleaflet/js/w2ui-1.5.rc1.js
+++ b/loleaflet/js/w2ui-1.5.rc1.js
@@ -6266,7 +6266,7 @@ w2utils.event = {
},
tooltipShow: function (id, event, forceRefresh) {
- if (window.mode.isMobile()) { return; }
+ if (window.mode.isMobile() || window.mode.isTablet()) { return; }
if (window.ThisIsTheiOSApp) return;
if (this.tooltip == null) return;
var $el = $(this.box).find('#tb_'+ this.name + '_item_'+ w2utils.escapeId(id));
More information about the Libreoffice-commits
mailing list