#1902: Support blacklisting posts by their pools

This commit is contained in:
Toks
2013-07-29 00:01:47 -04:00
parent 6fccb8ba69
commit 72a74d2eba
2 changed files with 2 additions and 0 deletions

View File

@@ -107,6 +107,7 @@
var $post = $(post);
var tags = String($post.attr("data-tags")).match(/\S+/g) || [];
tags = tags.concat(String($post.attr("data-pools")).match(/\S+/g) || []);
tags.push("rating:" + $post.data("rating"));
tags.push("user:" + $post.attr("data-uploader").toLowerCase().replace(/ /g, "_"));
$.each(String($post.data("flags")).match(/\S+/g) || [], function(i, v) {