mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Null-guard component in blur handler
This commit is contained in:
@@ -103,7 +103,7 @@ class TextEditorElement extends HTMLElement
|
||||
event.stopImmediatePropagation() if @contains(event.relatedTarget)
|
||||
|
||||
blurred: (event) ->
|
||||
@component.blurred()
|
||||
@component?.blurred()
|
||||
event.stopImmediatePropagation() if @contains(event.relatedTarget)
|
||||
|
||||
addGrammarScopeAttribute: ->
|
||||
|
||||
Reference in New Issue
Block a user