diff --git a/src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js b/src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js index 2004976005..29fbdbe523 100644 --- a/src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js +++ b/src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js @@ -98,11 +98,10 @@ DropdownPanel.prototype.update = function (_data, _header) { DropdownPanel.prototype.setContent = function (node) { if (!this.view) return - var parent = this.view.querySelector('.dropdownpanel div.dropdowncontent') - if (parent) parent.replaceChild(node, parent.firstElementChild) + yo.update(this.view, this.render(null, node)) } -DropdownPanel.prototype.render = function (overridestyle) { +DropdownPanel.prototype.render = function (overridestyle, node) { var content = yo`