Fixed error for non-course hero victory modals.

This commit is contained in:
Nick Winter 2015-08-04 17:38:26 -07:00
parent 38efeb119c
commit 7ad16683ce

View file

@ -68,7 +68,7 @@ module.exports = class HeroVictoryModal extends ModalView
destroy: ->
clearInterval @sequentialAnimationInterval
@saveReview() if @$el.find('.review textarea').val()
@feedback.off()
@feedback?.off()
super()
onHidden: ->