fixes #980
This commit is contained in:
@@ -207,12 +207,9 @@
|
||||
var $dest = $("#artist-tags");
|
||||
$dest.empty();
|
||||
|
||||
if (data.length === 0) {
|
||||
if (data.length != 1) {
|
||||
$dest.html("No artists found");
|
||||
return;
|
||||
} else if (data.length > 2) {
|
||||
$dest.html("Too many matching artists found");
|
||||
return;
|
||||
}
|
||||
|
||||
$.each(data, function(i, json) {
|
||||
|
||||
Reference in New Issue
Block a user