Fix eslint errors.
Change-Id: I3a354f684a08725afb2fac832ed5b6c118670696 Reviewed-on: https://gerrit.libreoffice.org/82594 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
This commit is contained in:
parent
1040353fde
commit
d40002ab5f
1 changed files with 4 additions and 4 deletions
|
@ -53,8 +53,8 @@ L.DomEvent.enableLongTap = function enableLongTap(el, tolerance, timeout) {
|
|||
return;
|
||||
}
|
||||
|
||||
var first = ev.touches[0],
|
||||
target = first.target;
|
||||
var first = ev.touches[0];
|
||||
var target = first.target;
|
||||
|
||||
startPos = newPos = L.point(first.clientX, first.clientY);
|
||||
|
||||
|
@ -93,8 +93,8 @@ L.DomEvent.enableLongTap = function enableLongTap(el, tolerance, timeout) {
|
|||
});
|
||||
|
||||
if (fireClick && ev && ev.changedTouches) {
|
||||
var first = ev.changedTouches[0],
|
||||
target = first.target;
|
||||
var first = ev.changedTouches[0];
|
||||
var target = first.target;
|
||||
|
||||
if (target && target.tagName && el.tagName.toLowerCase() === 'a') {
|
||||
L.DomUtil.removeClass(target, 'leaflet-active');
|
||||
|
|
Loading…
Reference in a new issue