mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 02:04:53 +08:00
FIX: Reset expanding of first post when entering a topic.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user