mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use ‘atom-workspace’ custom tag name for WorkspaceElement
This commit is contained in:
@@ -13,5 +13,5 @@ console.log "Window load time: #{atom.getWindowLoadTime()}ms"
|
||||
# Workaround for focus getting cleared upon window creation
|
||||
windowFocused = ->
|
||||
window.removeEventListener('focus', windowFocused)
|
||||
setTimeout (-> document.querySelector('.workspace').focus()), 0
|
||||
setTimeout (-> document.querySelector('atom-workspace').focus()), 0
|
||||
window.addEventListener('focus', windowFocused)
|
||||
|
||||
Reference in New Issue
Block a user