FIX: Reset expanding of first post when entering a topic.

This commit is contained in:
Robin Ward 2015-05-27 14:48:44 -04:00
parent 89031b9186
commit c22cc2bf03

View file

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