diff --git a/app/assets/javascripts/discourse/views/post_view.js b/app/assets/javascripts/discourse/views/post_view.js index 60a532552d3..961d5fad116 100644 --- a/app/assets/javascripts/discourse/views/post_view.js +++ b/app/assets/javascripts/discourse/views/post_view.js @@ -12,15 +12,10 @@ Discourse.PostView = Discourse.View.extend({ classNameBindings: ['postTypeClass', 'selected', 'post.hidden:hidden', - 'addDeletedClass:deleted', + 'post.deleted', 'parentPost:replies-above'], postBinding: 'content', - addDeletedClass: function() { - var post = this.get('post'); - return post.get('deleted') || post.get('user_deleted'); - }.property('post.deleted','post.user_deleted'), - postTypeClass: function() { return this.get('post.post_type') === Discourse.Site.instance().get('post_types.moderator_action') ? 'moderator' : 'regular'; }.property('post.post_type'),