Merge pull request #1468 from pagameba/patch-1
Update src/dom/DomEvent.js
This commit is contained in:
commit
b7701d1d86
@ -67,7 +67,7 @@ L.DomEvent = {
|
|||||||
key = '_leaflet_' + type + id,
|
key = '_leaflet_' + type + id,
|
||||||
handler = obj[key];
|
handler = obj[key];
|
||||||
|
|
||||||
if (!handler) { return; }
|
if (!handler) { return this; }
|
||||||
|
|
||||||
if (L.Browser.msTouch && type.indexOf('touch') === 0) {
|
if (L.Browser.msTouch && type.indexOf('touch') === 0) {
|
||||||
this.removeMsTouchListener(obj, type, id);
|
this.removeMsTouchListener(obj, type, id);
|
||||||
|
Loading…
Reference in New Issue
Block a user