This commit is contained in:
r888888888
2013-05-07 13:05:26 -07:00
parent b6d0f34e59
commit 950d9e681f

View File

@@ -119,6 +119,8 @@
$.each(Danbooru.RelatedTag.recent_artists[0].urls, function(i, url) { $.each(Danbooru.RelatedTag.recent_artists[0].urls, function(i, url) {
tags.push([" " + url.url, 0]); tags.push([" " + url.url, 0]);
}); });
} else if (Danbooru.RelatedTag.recent_artists.length >= 10) {
tags.push([" no artist found", 0]);
} else { } else {
$.each(Danbooru.RelatedTag.recent_artists, function(i, artist) { $.each(Danbooru.RelatedTag.recent_artists, function(i, artist) {
tags.push([artist.name, 1]); tags.push([artist.name, 1]);