Skip to content

Commit

Permalink
Add the scroll top when switch channel
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jul 23, 2014
1 parent dcf17ae commit b2e31f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ define([

$('a[href$="#/'+Backbone.history.fragment+'"]').parent().addClass("active");
$.sidr('close');
window.scrollTo(0,0);
}
});
});
Expand Down

0 comments on commit b2e31f5

Please sign in to comment.