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

pull/1/head
yann300 7 years ago
parent 47ae8fa883
commit 6650076cb0
  1. 3
      src/app.js

@ -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 ---------------

Loading…
Cancel
Save