Commit 6650076c authored by yann300's avatar yann300

use appendChild instead of replaceWith && righthandpanel.init()

parent 47ae8fa8
...@@ -708,7 +708,8 @@ function run () { ...@@ -708,7 +708,8 @@ function run () {
udapp: udapp.event udapp: udapp.event
} }
var righthandPanel = new RighthandPanel(rhpAPI, rhpEvents, {}) // eslint-disable-line var righthandPanel = new RighthandPanel(rhpAPI, rhpEvents, {}) // eslint-disable-line
self._view.rightpanel.replaceWith(righthandPanel.render()) self._view.rightpanel.appendChild(righthandPanel.render())
righthandPanel.init()
// ----------------- editor resize --------------- // ----------------- editor resize ---------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment