From 9ab6c2c0b986414429bc835a0741ca0678d345e1 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Sat, 8 Aug 2020 14:34:32 -0400 Subject: [PATCH] Add composer mount to ForumApplication --- js/src/forum/ForumApplication.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/forum/ForumApplication.js b/js/src/forum/ForumApplication.js index 4aff209579..690d0abe4a 100644 --- a/js/src/forum/ForumApplication.js +++ b/js/src/forum/ForumApplication.js @@ -76,7 +76,7 @@ export default class ForumApplication extends Application { /* * An object which controls the state of the composer. */ - // composer = new ComposerState(); + composer = new ComposerState(); constructor() { super(); @@ -119,7 +119,7 @@ export default class ForumApplication extends Application { m.mount(document.getElementById('header-navigation'), Navigation); m.mount(document.getElementById('header-primary'), HeaderPrimary); m.mount(document.getElementById('header-secondary'), HeaderSecondary); - // m.mount(document.getElementById('composer'), Composer.component({ state: this.composer })); + m.mount(document.getElementById('composer'), { view: () => Composer.component({ state: this.composer }) }); // this.pane = new Pane(document.getElementById('app'));