diff --git a/js/src/common/Application.js b/js/src/common/Application.js index 338d5dff2..34156ac71 100644 --- a/js/src/common/Application.js +++ b/js/src/common/Application.js @@ -264,7 +264,7 @@ export default class Application { updateTitle() { const count = this.titleCount ? `(${this.titleCount}) ` : ''; - const pageTitleWithSeparator = this.title && m.route() !== '/' ? this.title + ' - ' : ''; + const pageTitleWithSeparator = this.title && m.route.get() !== '/' ? this.title + ' - ' : ''; const title = this.forum.attribute('title'); document.title = count + pageTitleWithSeparator + title; }