From fdddb648e8e7b9ed2223983d87350341f9d205c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20S=C3=A1nchez=20Ortega?= Date: Wed, 10 Jun 2015 13:13:16 +0200 Subject: [PATCH] Cleanup L.DomUtil docs (see #3098). --- reference.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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