Merge pull request #3829 from evazion/fix-3821

Fix #3821: Blacklist and mod queue.
This commit is contained in:
Albert Yi
2018-08-22 16:39:07 -07:00
committed by GitHub
3 changed files with 5 additions and 1 deletions

View File

@@ -130,7 +130,7 @@ Blacklist.apply = function() {
}
Blacklist.posts = function() {
return $(".post-preview, #image-container, #c-comments .post");
return $(".post-preview, #image-container, #c-comments .post, .mod-queue-preview.post-preview");
}
Blacklist.post_match = function(post, entry) {

View File

@@ -12,6 +12,8 @@
</div>
<%= render "posts/partials/common/inline_blacklist" %>
<% @posts.each do |post| %>
<%= render "post", post: post %>
<% end %>

View File

@@ -25,6 +25,8 @@
</p>
</div>
<%= render "posts/partials/common/inline_blacklist" %>
<% @posts.each do |post| %>
<%= render "post", post: post %>
<% end %>