Location search doesn't work when page is reloaded
-
Hi! First of all, I love your plugin. It has all the features I would wish for and more π
I’m having a bit of trouble with the geo search. It works great when the suggestions get loaded, but very often they don’t.
The first time I load the page after clearing cache they work. I can tell because the “Near…” placeholder shows up in the input field. When I search, suggestions pop up automatically and the results are right.
If I open an event and then hit back, the “Near” placeholder doesn’t show up and suggestions don’t load. When I hit search, results are not filtered by location.
I’m guessing there is something that stops these lines from running:
EM.geo_placeholder = ‘<?php echo esc_attr($args[‘geo_label’]); ?>’;
jQuery(document).bind(’em_maps_loaded’, function(){ em_geo_search_init(); });but I can’t figure out what. Has anybody else run into this?
- The topic ‘Location search doesn't work when page is reloaded’ is closed to new replies.