Skip to content

Conversation

jack-kerouac
Copy link

The context (this) is passed when registering event listeners for events layeradd/layerremove and thus also needs to be passed when removing them.

The context (```this```) is passed when registering event listeners for events ```layeradd/layerremove``` and thus also needs to be passed when removing them.
mourner added a commit that referenced this pull request Mar 21, 2014
correctly remove event listener for layer control
@mourner mourner merged commit 7fe7f57 into Leaflet:stable Mar 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants