mirror of
https://github.com/atom/atom.git
synced 2026-02-11 15:14:59 -05:00
Remove InputComponent.getDomNode method
Access the dom node directly in TextEditorElement instead Signed-off-by: Damien Guard <damieng@github.com>
This commit is contained in:
committed by
Damien Guard
parent
efd20774de
commit
6f4a506517
@@ -139,6 +139,7 @@ class TextEditorElement extends HTMLElement
|
||||
|
||||
focused: (event) ->
|
||||
@component?.focused()
|
||||
@hiddenInputElement.focus()
|
||||
|
||||
blurred: (event) ->
|
||||
if event.relatedTarget is @hiddenInputElement
|
||||
|
||||
Reference in New Issue
Block a user