From 6650076cb03b9ae0e3ccae2554d46dc14af244dd Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 18 Jul 2017 19:25:37 +0200 Subject: [PATCH] use appendChild instead of replaceWith && righthandpanel.init() --- src/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index a2fb4489e3..c3daafc814 100644 --- a/src/app.js +++ b/src/app.js @@ -708,7 +708,8 @@ function run () { udapp: udapp.event } 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 ---------------