This commit is contained in:
albert
2013-03-05 20:43:32 -05:00
parent 65d366e71f
commit e10f15d2db

View File

@@ -97,6 +97,9 @@
var tags = String($post.data("tags")).match(/\S+/g) || [];
tags.push("rating:" + $post.data("rating"));
tags.push("user:" + $post.data("user"));
$.each(String($post.data("flags")).match(/\S+/g) || [], function(i, v) {
tags.push("status:" + v);
});
return (blacklist.require.length > 0 || blacklist.exclude.length > 0) && Danbooru.is_subset(tags, blacklist.require) && !Danbooru.intersect(tags, blacklist.exclude).length;
}