Fixing a bug with the tome problem view.

This commit is contained in:
Scott Erickson 2014-02-18 11:39:11 -08:00
parent cacf6539c1
commit d2d2099c4a

View file

@ -11,8 +11,9 @@ module.exports = class Problem
@buildMarkerRange() if withRange
destroy: ->
@alertView?.$el.remove()
@alertView?.destroy()
unless @alertView?.destroyed
@alertView?.$el?.remove()
@alertView?.destroy()
@removeMarkerRange()
buildAnnotation: ->