Merge pull request #2903 from diasporg/2898-public-profile
fix 2898 - public profile unauthed user [ci skip]
This commit is contained in:
commit
e95b0d92e4
1 changed files with 5 additions and 3 deletions
|
|
@ -18,9 +18,11 @@ app.views.Stream = Backbone.View.extend({
|
|||
this.stream.bind("fetched", this.removeLoader, this)
|
||||
this.stream.bind("allPostsLoaded", this.unbindInfScroll, this)
|
||||
this.collection.bind("add", this.addPost, this);
|
||||
app.user().bind("nsfwChanged", function() {
|
||||
_.map(this.postViews, function(view){ view.render() })
|
||||
}, this)
|
||||
if(window.app.user()) {
|
||||
app.user().bind("nsfwChanged", function() {
|
||||
_.map(this.postViews, function(view){ view.render() })
|
||||
}, this)
|
||||
}
|
||||
},
|
||||
|
||||
addPost : function(post) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue