pwillia7 / austin_graffiti

1 stars 0 forks source link

Events are not clearing when new posts are selected #8

Open pwillia7 opened 8 years ago

pwillia7 commented 8 years ago

So, you can easily add more than 1 vote with 1 click through this bug.

If you go to one of the carousels and click a post 10 times, then click a vote button, you will add 10 votes.

Need to clear the listeners or something.

pwillia7 commented 8 years ago

Just need to add .close

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/reference.html

pwillia7 commented 8 years ago

man so IDK.... think we need to explicitly clear the events per here https://developers.google.com/maps/documentation/javascript/reference?csw=1#MapsEventListener