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

inlineDirections: getAddressByMarker #60

Closed
jiggo opened this issue May 12, 2015 · 2 comments
Closed

inlineDirections: getAddressByMarker #60

jiggo opened this issue May 12, 2015 · 2 comments

Comments

@jiggo
Copy link

jiggo commented May 12, 2015

at line 1034 of jquery.storelocator.js (getAddressByMarker function):

var formattedAddress = null;

results in a string with a null concatenated at the beginning, which makes directions fails on the destination address.

I suggest to initialize with an empy string:

var formattedAddress = '';

@bjorn2404
Copy link
Owner

Thanks, yes I already have this fixed in the development branch. Just working through one other thing but it should get merged in within a day or two.

@jiggo
Copy link
Author

jiggo commented May 12, 2015

You're right, I didn't notice. Closing.

Thanks.

@jiggo jiggo closed this as completed May 12, 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

No branches or pull requests

2 participants