Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to disable handlers again #139

Merged
merged 1 commit into from
May 26, 2013

Conversation

yohanboniface
Copy link
Member

I think this was broken in d134743.

What do you think?

About implementation, I can also do a if(hasOwnProp(type) && options[type]), instead of two if, if you prefer.

Thanks!

Yohan

@abrookins
Copy link

I can confirm that this is an issue and that the patch seems to fix it.

@Starefossen
Copy link
Contributor

Me too 👍

@jacobtoye
Copy link
Member

Great find! I think it is fine as 2 if so it is clear what each are testing.

jacobtoye added a commit that referenced this pull request May 26, 2013
@jacobtoye jacobtoye merged commit 8a854d8 into Leaflet:master May 26, 2013
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.

4 participants