bjorn2404/jQuery-Store-Locator-Plugin

Searching by name after searching by address does not clear origin

craigpestell opened this issue · 1 comments

When using the search by name feature, if I first search by address, then by name, the map stays on the last address location and does not show all the stores by name.

I fixed this by adding mappingObj.origin = undefined; to the last section of processForm function, in the else if(searchInput !== '') { case.

Thanks, fixed in v2.7.2