martindholmes / BreezeMap

BreezeMap is a project to create a simple user interface for interactive map and facsimile editing based on TEI XML and OpenLayers 4+.
MIT License
11 stars 3 forks source link

Select, deselect, re-select place produces multiple 'read me' links #10

Closed gtnewton closed 6 years ago

gtnewton commented 6 years ago

Select a category. Click a list item. A read me link shows at the bottom of the div. De-select the item. The read me link disappears. Re-select the (same) item. Two read me links appear. Continue clicking the list item. New read me link for each click. The same behaviour occurs if a polygon on the map is clicked multiple times. Expected behaviour: de-selecting item and re-selecting should only produce one read me no matter how many time sit is selected/de-selected/re-selected.

martindholmes commented 6 years ago

Fixed in commit 89e0cb2.