mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Fixing a bug with the tome problem view.
This commit is contained in:
parent
cacf6539c1
commit
d2d2099c4a
1 changed files with 3 additions and 2 deletions
|
@ -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: ->
|
||||
|
|
Loading…
Reference in a new issue