OpenEugene / little-help-book-web

Human service resource guide powered by White Bird Clinic
MIT License
6 stars 4 forks source link

On map view, change the text in the button to "map" #92

Closed ArthurSmid closed 3 years ago

ArthurSmid commented 3 years ago

JavaScript function for the list-map-toggle button on:

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".