diff --git a/src/dom/DomEvent.js b/src/dom/DomEvent.js index 4d788bd6..3c1264d9 100644 --- a/src/dom/DomEvent.js +++ b/src/dom/DomEvent.js @@ -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);