diff --git a/src/app/panels/righthand-panel.js b/src/app/panels/righthand-panel.js index 23d2cf90c0..7bd1edae68 100644 --- a/src/app/panels/righthand-panel.js +++ b/src/app/panels/righthand-panel.js @@ -27,15 +27,15 @@ module.exports = class RighthandPanel { self._view = { el: null, tabbedMenu: null, tabbedMenuViewport: null, dragbar: null } self._components = {} - const optionViews = yo`
` - self._view.dragbar = yo`` - // load tabbed menu component const tabEvents = {compiler: self._events.compiler, app: self._events.app, rhp: self.event} self._view.tabbedMenu = new TabbedMenu(self._api, tabEvents) + const optionViews = self._view.tabbedMenu.renderViewport() + self._view.dragbar = yo`` + // load tabbed menu component const options = self._view.tabbedMenu.render() options.classList.add(css.opts) self._view.element = yo` -