diff --git a/app/assets/javascripts/app/views.js b/app/assets/javascripts/app/views.js index fc7329390..29f6c9fbb 100644 --- a/app/assets/javascripts/app/views.js +++ b/app/assets/javascripts/app/views.js @@ -87,7 +87,7 @@ app.views.infiniteScrollMixin = { this.bind("loadMore", this.fetchAndshowLoader, this) this.stream.bind("fetched", this.hideLoader, this) - this.stream.bind("allPostsLoaded", this.unbindInfScroll, this) + this.stream.bind("allItemsLoaded", this.unbindInfScroll, this) this.collection.bind("add", this.addPost, this); var throttledScroll = _.throttle(_.bind(this.infScroll, this), 200);