From 5941d9464a1b5dea7fe2cb2b735643faca4e4708 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 13 Oct 2015 19:39:34 -0600 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20use=20window=20global=20in=20At?= =?UTF-8?q?omEnvironment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/atom-environment.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom-environment.coffee b/src/atom-environment.coffee index d9694d4ef..c116f777b 100644 --- a/src/atom-environment.coffee +++ b/src/atom-environment.coffee @@ -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: ->