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

New commits:
commit 452015d97789bf5fdc6dc6c58c1c30362dfbd031
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Tue Oct 16 20:03:40 2018 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Tue Oct 16 20:09:03 2018 -0400

    loleaflet: mobile: do not focus the map after the menu item click
    
    Change-Id: I796c81a5df3471ab2cb9bb36735ad05f6e8f4492

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 8f88f2558..2eb1d3661 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -774,7 +774,7 @@ L.Control.Menubar = L.Control.extend({
                        self._executeAction(item);
                }
 
-               if ($(item).data('id') !== 'insertcomment')
+               if (!L.Browser.mobile && $(item).data('id') !== 'insertcomment')
                        self._map.focus();
        },
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to