From 9f1713b8f94094bbb1ddfc781834c3ad76ba26ae Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Thu, 19 Apr 2012 14:06:09 +0200 Subject: [PATCH] bind to new eventname [ci skip] --- app/assets/javascripts/app/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);