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

Fix initialization for [email protected] #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

olzraiti
Copy link

This PR replaces the _onCloseButtonClick() call on initialization with close() according to [email protected] breaking changes. Leaflet's Popup API internals were reorganized according to their changelog:

  • Reorganize DivOverlay/Popup/Tooltip APIs

@erictheise
Copy link
Owner

Thank you for your work, @olzraiti, gratifying to know people find this little library worth updating. Instead of this hard replace would you be willing to incorporate a Leaflet version check that'd maintain operability with versions earlier than 1.8?

@olzraiti
Copy link
Author

Happy to help :) that should do the trick

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