Only update guideslines when guidelines are present #188

Merged
merged 1 commit into from Sep 15, 2013

Conversation

Projects
None yet
2 participants
Contributor

jayhogan commented Sep 12, 2013

This fix eliminates a spurious stacktrace that results when the map is zoomed programmatically before the mousemove event fires and defines the _currentLatLng property.

@jayhogan jayhogan Only update guideslines when guidelines are present
This fix eliminates a spurious stacktrace that results when the map is zoomed programmatically before the mousemove event fires and defines the _currentLatLng property.
0911f09
Contributor

jayhogan commented Sep 12, 2013

Kudos to GitHub for making it really easy to propose simple fixes by simply clicking the edit button while viewing a source file in the web client. Rock on!

Owner

jacobtoye commented Sep 15, 2013

Nice fix, thanks! Github ftw ;)

@jacobtoye jacobtoye added a commit that referenced this pull request Sep 15, 2013

@jacobtoye jacobtoye Merge pull request #188 from jayhogan/patch-1
Only update guideslines when guidelines are present
8fab06c

@jacobtoye jacobtoye merged commit 8fab06c into Leaflet:master Sep 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment