mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use active editor from root view instead of ivar
This commit is contained in:
@@ -48,5 +48,5 @@ class JumpToLineView extends View
|
||||
attach: ->
|
||||
@previouslyFocusedElement = $(':focus')
|
||||
@rootView.append(this)
|
||||
@message.text("Enter a line number 1-#{@editor.getLineCount()}")
|
||||
@message.text("Enter a line number 1-#{@rootView.getActiveEditor().getLineCount()}")
|
||||
@miniEditor.focus()
|
||||
|
||||
Reference in New Issue
Block a user