loleaflet/src/control/Control.JSDialogBuilder.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit abac1fa536a0bd052a071f8f699c2867f83cb07d
Author:     mert <mert.tu...@collabora.com>
AuthorDate: Tue Jan 28 12:58:38 2020 +0300
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Tue Jan 28 15:21:05 2020 +0100

    mobilewizard: Changed hit area for unoToolButton
    
    only the image button was clickable which was
    confusing where to tap on mobile. This patch
    changes the hit area to surrounding div instead
    
    Change-Id: Idfa2533b5daaa9df8f288eab5f9bb4b9e861d822
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87609
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js 
b/loleaflet/src/control/Control.JSDialogBuilder.js
index 71c074103..a3dcdb844 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -1201,7 +1201,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
                        button.innerHTML = builder._cleanText(data.text);
                }
 
-               $(button).click(function () {
+               $(div).click(function () {
                        builder.callback('toolbutton', 'click', button, 
data.command, builder);
                });
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to