discogs: remove useless else

This commit is contained in:
Laurent Monin 2015-06-23 09:43:20 +02:00
parent 2124537406
commit 0842b1e3a2

View file

@ -591,7 +591,8 @@ function parseDiscogsRelease(data) {
if (discogsTrack.type_ == 'heading') {
heading = discogsTrack.title;
return;
} else if (discogsTrack.type_ != 'track' && discogsTrack.type_ != 'index') {
}
if (discogsTrack.type_ != 'track' && discogsTrack.type_ != 'index') {
return;
}