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

Updated path to check for style being passed #6728

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

TheRealTorreySmith
Copy link
Contributor

Errors were thrown if the style object was not being passed so I added an extra check for the style object before checking if it "hasOwnProperty('weight').

@strimbob
Copy link

this would fix my bug
#6825
Can I just approve it?

Copy link
Collaborator

@cherniavskii cherniavskii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cherniavskii cherniavskii merged commit ffc280c into Leaflet:master Oct 1, 2019
@strimbob
Copy link

strimbob commented Oct 1, 2019

no worries, thank you!

@destus90
Copy link

destus90 commented Nov 26, 2019

It is a very important PR. This fixes some issues with Leaflet.Draw that seems to be died at all Leaflet/Leaflet.draw#943

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