mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Fix issue removing panels
This commit is contained in:
@@ -28,7 +28,7 @@ class PanelContainerElement extends HTMLElement
|
||||
@hideAllPanelsExcept(panel) if visible
|
||||
|
||||
panelRemoved: ({panel, index}) ->
|
||||
@removeChild(@childNodes[index])
|
||||
@removeChild(panel.getView())
|
||||
|
||||
destroyed: ->
|
||||
@subscriptions.dispose()
|
||||
|
||||
Reference in New Issue
Block a user