mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Prefer getElement() to view registry for Docks, PaneContainer & Pane
This commit is contained in:
@@ -22,7 +22,7 @@ class PanelContainerElement extends HTMLElement {
|
||||
|
||||
// Add the dock.
|
||||
if (this.model.dock != null) {
|
||||
this.appendChild(this.views.getView(this.model.dock))
|
||||
this.appendChild(this.model.dock.getElement())
|
||||
}
|
||||
|
||||
return this
|
||||
|
||||
Reference in New Issue
Block a user