mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Don’t use window global in AtomEnvironment
This commit is contained in:
@@ -443,7 +443,7 @@ class AtomEnvironment extends Model
|
||||
# Extended: Focus the current window.
|
||||
focus: ->
|
||||
@applicationDelegate.focusWindow()
|
||||
window.focus()
|
||||
@window.focus()
|
||||
|
||||
# Extended: Show the current window.
|
||||
show: ->
|
||||
|
||||
Reference in New Issue
Block a user