fix for #1438
This commit is contained in:
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user