fixes #1371, additional fixes to seed script

This commit is contained in:
r888888888
2013-04-19 15:21:43 -07:00
parent 5327ac7820
commit 7a747e9ac0
8 changed files with 50 additions and 33 deletions

View File

@@ -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) {