mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Always use global rootView object
This removes the last few places where rootView was looked up via jQuery selector and instead just uses the rootView property available on the window.
This commit is contained in:
@@ -73,7 +73,7 @@ class AutocompleteView extends SelectList
|
||||
|
||||
@editor.abort()
|
||||
@editor.setSelectedBufferRange(@originalSelectionBufferRange)
|
||||
@editor.rootView()?.focus() if @miniEditor.isFocused
|
||||
rootView.focus() if @miniEditor.isFocused
|
||||
|
||||
attach: ->
|
||||
@editor.transact()
|
||||
|
||||
Reference in New Issue
Block a user