Merge branch 'stable' into develop
This commit is contained in:
commit
202afe0405
1 changed files with 4 additions and 0 deletions
|
|
@ -104,6 +104,10 @@ app.Router = Backbone.Router.extend({
|
||||||
//below here is oldness
|
//below here is oldness
|
||||||
|
|
||||||
stream : function() {
|
stream : function() {
|
||||||
|
if(app.page) {
|
||||||
|
app.page.unbindInfScroll();
|
||||||
|
app.page.remove();
|
||||||
|
}
|
||||||
app.stream = new app.models.Stream();
|
app.stream = new app.models.Stream();
|
||||||
app.stream.fetch();
|
app.stream.fetch();
|
||||||
app.page = new app.views.Stream({model : app.stream});
|
app.page = new app.views.Stream({model : app.stream});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue