mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Better unloading of Poster expansion
This commit is contained in:
@@ -91,7 +91,7 @@ Discourse.TopicRoute = Discourse.Route.extend({
|
||||
|
||||
// Clear the search context
|
||||
this.controllerFor('search').set('searchContext', null);
|
||||
this.controllerFor('posterExpansion').set('model', null);
|
||||
this.controllerFor('posterExpansion').set('visible', false);
|
||||
|
||||
var topicController = this.controllerFor('topic'),
|
||||
postStream = topicController.get('postStream');
|
||||
|
||||
Reference in New Issue
Block a user