diff --git a/reference.html b/reference.html index 79eceab9..e51ddf97 100644 --- a/reference.html +++ b/reference.html @@ -5249,17 +5249,19 @@ Popups will also be automatically opened when the layer is clicked on and closed off( <HTMLElement> el, <String> types, - <Function> fn ) + <Function> fn, + <Object> context? ) this - Removes the event listener fn from the element, for the DOM event types in types (a space-separated list). fn must be equal to the function currently listening to the event for it to be removed. + Removes the event listener fn from the element, for the DOM event types in types (a space-separated list). Both fn and context must be equal to the function and context used previously on a L.DomEvent.on call. removeListener( <HTMLElement> el, <String> types, - <Function> fn ) + <Function> fn, + <Object> context? ) this