loleaflet: make sure double-tap selects words on touch devices

related bccu#1300

Change-Id: I354e7e6f6e3d53aad2cf9396e71ad4a2ad2d1a97
Reviewed-on: https://gerrit.libreoffice.org/24000
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Faruk Uzun 2016-04-11 19:31:32 +03:00 committed by Andras Timar
parent 0559b58144
commit d0906c12d8

View file

@ -46,6 +46,7 @@ L.extend(L.DomEvent, {
touch = newTouch;
}
touch.type = 'dblclick';
touch.button = 0;
handler(touch);
last = null;
}