FIX: Sometimes postChangedRoute could be triggered when torn down

This commit is contained in:
Robin Ward
2015-02-11 12:57:22 -05:00
parent 282476fdf9
commit 38fbdf65ef
2 changed files with 38 additions and 38 deletions
@@ -653,12 +653,7 @@ export default ObjectController.extend(Discourse.SelectedPostsCount, BufferedCon
}
},
/**
Called the the topmost visible post on the page changes.
@method topVisibleChanged
@params {Discourse.Post} post that is at the top
**/
// Called the the topmost visible post on the page changes.
topVisibleChanged: function(post) {
if (!post) { return; }