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

init interaction regardless of new icon or not #3978

Merged
merged 1 commit into from
Nov 2, 2015
Merged

init interaction regardless of new icon or not #3978

merged 1 commit into from
Nov 2, 2015

Conversation

celadevra
Copy link

[issue #3976]

previously interaction only get inited when not reusing icon, i.e. when addIcon
flag is set to true. by taking the statement out of the if condition,
interaction is inited whenever _initIcon is called.

[issue #3976]

previously interaction only get inited when not reusing icon, i.e. when addIcon
flag is set to true. by taking the statement out of the if condition,
interaction is inited whenever setIcon is called.
@IvanSanchez
Copy link
Member

Seems to work fine. Thanks, @celadevra !

IvanSanchez added a commit that referenced this pull request Nov 2, 2015
init interaction regardless of new icon or not
@IvanSanchez IvanSanchez merged commit aebf591 into Leaflet:master Nov 2, 2015
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.

3 participants