[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/js

gokaysatir (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 11 20:59:58 UTC 2020


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

New commits:
commit 16c743d61044224aa521dddde1428beda2703030
Author:     gokaysatir <gokaysatir at collabora.com>
AuthorDate: Sat Jul 11 14:35:26 2020 +0300
Commit:     Aron Budea <aron.budea at collabora.com>
CommitDate: Tue Aug 11 22:59:40 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>
    (cherry picked from commit 9aae80518d23dab3dbd8fdc9369b61d70798ea67)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100364
    Reviewed-by: Aron Budea <aron.budea 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