diff --git a/app/assets/javascripts/discourse/routes/topic_route.js b/app/assets/javascripts/discourse/routes/topic_route.js index d7e165c352b..2cf7d60e1f9 100644 --- a/app/assets/javascripts/discourse/routes/topic_route.js +++ b/app/assets/javascripts/discourse/routes/topic_route.js @@ -87,6 +87,10 @@ Discourse.TopicRoute = Discourse.Route.extend({ model: function(params) { var currentModel = this.modelFor('topic'); if (currentModel && (currentModel.get('id') === parseInt(params.id, 10))) { + // If we've recovered the currentModel (for example, hitting the forward button and we + // popped it off the state), get rid of the `loaded` attribute we set when the back + // button was hit. + currentModel.set('postStream.loaded', true); return currentModel; } return Discourse.Topic.create(params);