[Plugin: Events Manager] multiple infoboxes on location_map not closing
-
Has anyone had an issue with the [location_map] shortcode that displays multiple locations on a page? I have about six locations on the map, and when clicking on the markers, the map opens multiple infoboxes and doesn’t close previous ones. From looking at events-manager.js , i noticed that there was both an
infowindow
and aninfoWindow
var. It doesn’t look like these are global. I tried to add aninfowindow.close()
toem_location_input_ajax()
to try to get the previous infobox to close. This fixes the issue if I initializeinfowindow
outside the local scopes and remove all the local var declarations. Is there a better way to fix this without changing the core plugin js?
- The topic ‘[Plugin: Events Manager] multiple infoboxes on location_map not closing’ is closed to new replies.