1
0
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:
David Sevilla Martin
2020-05-03 09:29:28 -04:00
parent 8437e44112
commit 8b4046fdd4
5 changed files with 8756 additions and 8054 deletions

View File

@@ -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();