Merge branch 'stable' into develop
This commit is contained in:
commit
c18c1b1d84
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ var app = {
|
||||||
$(".stream_title").text(link.text());
|
$(".stream_title").text(link.text());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$("html, body").animate({scrollTop: 0});
|
||||||
|
|
||||||
// app.router.navigate doesn't tell us if it changed the page,
|
// app.router.navigate doesn't tell us if it changed the page,
|
||||||
// so we use Backbone.history.navigate instead.
|
// so we use Backbone.history.navigate instead.
|
||||||
var change = Backbone.history.navigate(link.attr("href").substring(1) ,true);
|
var change = Backbone.history.navigate(link.attr("href").substring(1) ,true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue