mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 10:54:22 +08:00
Better unloading of Poster expansion
This commit is contained in:
parent
89e78f5c64
commit
7eac7303cd
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user