Merge pull request #1468 from pagameba/patch-1

Update src/dom/DomEvent.js
This commit is contained in:
Vladimir Agafonkin 2013-02-27 12:45:07 -08:00
commit b7701d1d86

View File

@ -67,7 +67,7 @@ L.DomEvent = {
key = '_leaflet_' + type + id,
handler = obj[key];
if (!handler) { return; }
if (!handler) { return this; }
if (L.Browser.msTouch && type.indexOf('touch') === 0) {
this.removeMsTouchListener(obj, type, id);