Khan/khan-exercises — comment on commit 30677f3ec528fdf93cb26b1beff72fe99411a0d0
File: khan-exercise.js line 2185
By divad12:

A click handler gets attached every time `drawExerciseState` gets called, and each handler will get called on every click. I don't think this is what you want, so please attach the click handler on DOM ready, in `prepareSite`, or somewhere else so it'll be run just once.

Also, in the latest commit `icon` is not used elsewhere, so you could just replace it with `jQuery( "#exercise-icon-container" )`.