⌨️ fix typo

This commit is contained in:
Michelle Tilley 2017-11-02 11:31:06 -07:00
parent 2d20886cfa
commit cbf2d24d9e
No known key found for this signature in database
GPG Key ID: CD86C13E51F378DA

View File

@ -162,7 +162,7 @@ class AtomApplication
# Public: Removes the {AtomWindow} from the global window list. # Public: Removes the {AtomWindow} from the global window list.
removeWindow: (window) -> removeWindow: (window) ->
@windowStacktack.removeWindow(window) @windowStack.removeWindow(window)
if @getAllWindows().length is 0 if @getAllWindows().length is 0
@applicationMenu?.enableWindowSpecificItems(false) @applicationMenu?.enableWindowSpecificItems(false)
if process.platform in ['win32', 'linux'] if process.platform in ['win32', 'linux']