From b4e0483a189ba00a4c397ceb7fefc2890a1e21d5 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Fri, 20 Jan 2012 01:20:41 -0800 Subject: [PATCH] fixed really nasty inf scroll bug (hotfix) --- public/javascripts/app/models/stream.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/javascripts/app/models/stream.js b/public/javascripts/app/models/stream.js index bee78eebb..65cd83e4e 100644 --- a/public/javascripts/app/models/stream.js +++ b/public/javascripts/app/models/stream.js @@ -10,6 +10,7 @@ app.models.Stream = Backbone.Collection.extend({ _fetching : false, fetch: function() { + if(this._fetching) { console.log('no sir'); return false; } var self = this // we're fetching the collection... there is probably a better way to do this