parent
1ad48d7ce3
commit
dccad3f7e1
1 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,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