Add inclusion of names

This commit is contained in:
Gabriel Augendre 2016-05-07 18:54:42 +02:00
parent b02fc7b607
commit b930036a45
No known key found for this signature in database
GPG key ID: D2B6A5B41FC438B1

View file

@ -233,6 +233,9 @@ function areDups(track1, track2) {
if (name1 == name2) {
return true;
}
else if (name1.includes(name2) || name2.includes(name1)) {
return true;
}
}
return false;
}