From c22cc2bf038661d90046743704ff6785b8492f1a Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 27 May 2015 14:48:44 -0400 Subject: [PATCH] FIX: Reset expanding of first post when entering a topic. --- app/assets/javascripts/discourse/routes/topic.js.es6 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/routes/topic.js.es6 b/app/assets/javascripts/discourse/routes/topic.js.es6 index c86022e63..963afc35c 100644 --- a/app/assets/javascripts/discourse/routes/topic.js.es6 +++ b/app/assets/javascripts/discourse/routes/topic.js.es6 @@ -206,8 +206,9 @@ const TopicRoute = Discourse.Route.extend(ShowFooter, { } controller.setProperties({ - model: model, - editingTopic: false + model, + editingTopic: false, + firstPostExpanded: false }); Discourse.TopicRoute.trigger('setupTopicController', this);