1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 17:07:19 +02:00

Add Pane to ForumApplication

This commit is contained in:
Alexander Skvortsov
2020-08-09 19:09:41 -04:00
committed by Franz Liedke
parent 43164df79e
commit 23d95a7566

View File

@@ -121,7 +121,7 @@ export default class ForumApplication extends Application {
m.mount(document.getElementById('header-secondary'), HeaderSecondary);
m.mount(document.getElementById('composer'), { view: () => Composer.component({ state: this.composer }) });
// this.pane = new Pane(document.getElementById('app'));
this.pane = new Pane(document.getElementById('app'));
m.route.prefix = '';
super.mount(this.forum.attribute('basePath'));