mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Support reloading the window from the event palette
This commit is contained in:
@@ -85,6 +85,7 @@ window.handleWindowEvents = ->
|
||||
$(window).on 'focus', -> $("body").removeClass('is-blurred')
|
||||
$(window).on 'blur', -> $("body").addClass('is-blurred')
|
||||
$(window).command 'window:close', => confirmClose()
|
||||
$(window).command 'window:reload', => reload()
|
||||
|
||||
window.deserializeWindowState = ->
|
||||
RootView = require 'root-view'
|
||||
|
||||
Reference in New Issue
Block a user