Don’t use window global in AtomEnvironment

This commit is contained in:
Nathan Sobo
2015-10-13 19:39:34 -06:00
parent 54ce749578
commit 5941d9464a

View File

@@ -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: ->