Better unloading of Poster expansion

This commit is contained in:
Robin Ward 2013-10-04 15:35:43 -04:00
parent 89e78f5c64
commit 7eac7303cd

View File

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