JavaScript function for the list-map-toggle button on:
[ ] category page
[ ] subcategory page
When it's on map view, change the text in the button to "map".
The button that toggles between the list of providers and their locations on a map, the text in the button says "list" and when hovering the drop-down menu shows the options "list" and "map". When someone changes to map view and they're viewing the map, the button includes text that says "map".
JavaScript function for the list-map-toggle button on:
[ ] category page
[ ] subcategory page
When it's on map view, change the text in the button to "map".
The button that toggles between the list of providers and their locations on a map, the text in the button says "list" and when hovering the drop-down menu shows the options "list" and "map". When someone changes to map view and they're viewing the map, the button includes text that says "map".