From 6c8c525e57f0b57f080c9448ec15dc6dfa6b0755 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Sep 2018 11:17:54 +0930 Subject: [PATCH] Fix regression introduced by #1543 The Page component's config method wasn't being called, therefore the bodyClass would not be applied. --- js/src/forum/components/DiscussionPage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/forum/components/DiscussionPage.js b/js/src/forum/components/DiscussionPage.js index edfda8523..247a622e8 100644 --- a/js/src/forum/components/DiscussionPage.js +++ b/js/src/forum/components/DiscussionPage.js @@ -115,7 +115,9 @@ export default class DiscussionPage extends Page { ); } - config() { + config(...args) { + super.config(...args); + if (this.discussion) { app.setTitle(this.discussion.title()); }