mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05: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