possible fix for #1163

This commit is contained in:
Toks
2013-05-20 13:12:38 -04:00
parent 2d0c19fcde
commit 2c0501a5c3
2 changed files with 8 additions and 0 deletions

View File

@@ -121,6 +121,9 @@
tags.push([" none", 0]);
} else if (Danbooru.RelatedTag.recent_artists.length === 1) {
tags.push([Danbooru.RelatedTag.recent_artists[0].name, 1]);
if (Danbooru.RelatedTag.recent_artists[0].is_banned === true) {
tags.push(["BANNED_ARTIST", "banned"]);
}
$.each(Danbooru.RelatedTag.recent_artists[0].urls, function(i, url) {
tags.push([" " + url.url, 0]);
});

View File

@@ -87,6 +87,11 @@ a.blacklisted-active {
}
}
.category-banned a, a.tag-type-banned {
color: black;
background-color: red;
}
.post-count {
color: #CCC;
margin-left: 0.2em;