Fix issue removing panels

This commit is contained in:
Ben Ogle
2014-11-05 15:37:47 -08:00
parent 80c15513bb
commit 9458db0c1f
2 changed files with 45 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ class PanelContainerElement extends HTMLElement
@hideAllPanelsExcept(panel) if visible
panelRemoved: ({panel, index}) ->
@removeChild(@childNodes[index])
@removeChild(panel.getView())
destroyed: ->
@subscriptions.dispose()