This commit is contained in:
Toks
2013-05-17 18:28:46 -04:00
parent 06b007205d
commit f890dbf109
3 changed files with 4 additions and 4 deletions

View File

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