Commit c02f6eb8 by Jonathan Piacenti Committed by Braden MacDonald

Fix exponential rerendering after hitting next button too many times.

parent 1db52e84
......@@ -160,6 +160,7 @@ function MentoringWithStepsBlock(runtime, element) {
updateNextLabel();
// Reinstate default event handlers
nextDOM.off('click');
nextDOM.on('click', updateDisplay);
reviewButtonDOM.on('click', showGrade);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment