fixes #1371, additional fixes to seed script
This commit is contained in:
@@ -97,7 +97,12 @@
|
||||
}
|
||||
|
||||
Danbooru.Blacklist.posts = function() {
|
||||
return $(".post-preview");
|
||||
var previews = $(".post-preview");
|
||||
if (previews.length) {
|
||||
return previews;
|
||||
} else {
|
||||
return $("#image");
|
||||
}
|
||||
}
|
||||
|
||||
Danbooru.Blacklist.post_match = function(post, entry) {
|
||||
|
||||
@@ -18,7 +18,7 @@ a.blacklisted-active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.post-preview.blacklisted-active {
|
||||
.post-preview.blacklisted-active, #image.blacklisted-active {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user