fac18 / safe-space

A platform to facilitate reporting of sexual harassment in the music industry.
https://www.musafespace.org.uk/
GNU General Public License v3.0
1 stars 2 forks source link

BUG: Deselecting 'Other' checkbox removes 2 items from responses object #149

Closed freemvmt closed 4 years ago

freemvmt commented 4 years ago

Specifically, it removes itself and the then the first entry in the response array (i.e. the first option selected).

If it's the only thing left in response array, it removes itself and then tries to delete from undefined, crashing the app.

freemvmt commented 4 years ago

Suggestion: this is because there are TWO event listeners attached to the 'Other' option!