Don't clear things unnecessarily
This commit is contained in:
parent
836033b935
commit
6b8a56ae4f
1 changed files with 3 additions and 2 deletions
|
@ -678,8 +678,9 @@ module.exports = class SpellView extends CocoView
|
|||
cast = @$el.parent().length
|
||||
@recompile cast, e.realTime
|
||||
@focus() if cast
|
||||
@clearWebDevErrors()
|
||||
@updateHTML create: true if @options.level.isType('web-dev')
|
||||
if @options.level.isType('web-dev')
|
||||
@clearWebDevErrors()
|
||||
@updateHTML create: true
|
||||
|
||||
onCodeReload: (e) ->
|
||||
return unless e.spell is @spell or not e.spell
|
||||
|
|
Reference in a new issue