use _view directly

pull/1/head
yann300 7 years ago
parent f8158289eb
commit 5038861cbc
  1. 6
      src/app.js

@ -544,11 +544,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// ---------------- FilePanel -------------------- // ---------------- FilePanel --------------------
var filePanel = new FilePanel() var filePanel = new FilePanel()
self._view.leftpanel.appendChild(filePanel.render())
// TODO this should happen inside file-panel.js
var filepanelContainer = document.querySelector('#filepanel')
filepanelContainer.appendChild(filePanel.render())
filePanel.event.register('resize', delta => self._adjustLayout('left', delta)) filePanel.event.register('resize', delta => self._adjustLayout('left', delta))
// ----------------- Renderer ----------------- // ----------------- Renderer -----------------

Loading…
Cancel
Save