diff --git a/framework/core/js/forum/src/initializers/boot.js b/framework/core/js/forum/src/initializers/boot.js index b6bebd3c4..6aa06a262 100644 --- a/framework/core/js/forum/src/initializers/boot.js +++ b/framework/core/js/forum/src/initializers/boot.js @@ -4,7 +4,7 @@ import ScrollListener from 'flarum/utils/ScrollListener'; import Pane from 'flarum/utils/Pane'; import Drawer from 'flarum/utils/Drawer'; import mapRoutes from 'flarum/utils/mapRoutes'; - +import icon from 'flarum/helpers/icon'; import Navigation from 'flarum/components/Navigation'; import HeaderPrimary from 'flarum/components/HeaderPrimary'; import HeaderSecondary from 'flarum/components/HeaderSecondary'; @@ -31,6 +31,7 @@ export default function boot(app) { } app.routes[defaultAction].path = '/'; + app.history.push(defaultAction, icon('bars'), '/'); m.startComputation();