[Libreoffice-commits] online.git: loleaflet/js

gokaysatir (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 15 12:51:23 UTC 2020


 loleaflet/js/w2ui-1.5.rc1.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9aae80518d23dab3dbd8fdc9369b61d70798ea67
Author:     gokaysatir <gokaysatir at collabora.com>
AuthorDate: Sat Jul 11 14:35:26 2020 +0300
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Wed Jul 15 14:51:04 2020 +0200

    loleaflet: Hide w2ui tooltips on mobile.
    
    Change-Id: Iaf57e6f53fbc363e22ac1c11de0eb657d492edd3
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98558
    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 533941987..4ff42eed2 100644
--- a/loleaflet/js/w2ui-1.5.rc1.js
+++ b/loleaflet/js/w2ui-1.5.rc1.js
@@ -6266,6 +6266,7 @@ w2utils.event = {
         },
 
         tooltipShow: function (id, event, forceRefresh) {
+            if (window.mode.isMobile()) { 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