mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Update JS dependencies & fix default route if URL has doesn't exist
This commit is contained in:
@@ -59,6 +59,8 @@ export default class Admin extends Application {
|
||||
m.mount(document.getElementById('header-secondary'), new HeaderSecondary());
|
||||
m.mount(document.getElementById('admin-navigation'), new AdminNav());
|
||||
|
||||
if (!document.location.hash) document.location.hash = '#/';
|
||||
|
||||
m.route.prefix = '#';
|
||||
super.mount();
|
||||
|
||||
|
Reference in New Issue
Block a user