1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00

Set document.title on every page

This commit is contained in:
Toby Zerner
2015-05-18 14:28:15 +09:30
parent d904efb556
commit 3462dd68d2
6 changed files with 15 additions and 3 deletions

View File

@@ -9,7 +9,6 @@ export default class ActivityPage extends UserPage {
constructor(props) {
super(props);
this.user = m.prop();
this.loading = m.prop(true);
this.moreResults = m.prop(false);
this.activity = m.prop([]);
@@ -30,7 +29,7 @@ export default class ActivityPage extends UserPage {
setupUser(user) {
m.startComputation();
this.user(user);
super.setupUser(user);
m.endComputation();
this.refresh();