Merge branch 'stable' into develop
This commit is contained in:
commit
23099823c1
2 changed files with 6 additions and 1 deletions
|
|
@ -98,6 +98,7 @@ With the port to Bootstrap 3, app/views/terms/default.haml has a new structure.
|
|||
* Always show public photos on profile page [#6398](https://github.com/diaspora/diaspora/pull/6398)
|
||||
* Expose Unicorn's pid option to our configuration system [#6411](https://github.com/diaspora/diaspora/pull/6411)
|
||||
* Add stream of all public posts [#6465](https://github.com/diaspora/diaspora/pull/6465)
|
||||
* Reload stream when clicking on already active one [#6466](https://github.com/diaspora/diaspora/pull/6466)
|
||||
|
||||
# 0.5.3.1
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,11 @@ var app = {
|
|||
} else {
|
||||
$(".stream_title").text(link.text());
|
||||
}
|
||||
app.router.navigate(link.attr("href").substring(1) ,true);
|
||||
|
||||
// app.router.navigate doesn't tell us if it changed the page,
|
||||
// so we use Backbone.history.navigate instead.
|
||||
var change = Backbone.history.navigate(link.attr("href").substring(1) ,true);
|
||||
if(change === undefined) { Backbone.history.loadUrl(link.attr("href").substring(1)); }
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue