bind to new eventname [ci skip]

This commit is contained in:
Florian Staudacher 2012-04-19 14:06:09 +02:00
parent bf62709c1d
commit 9f1713b8f9

View file

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