Add inclusion of names
This commit is contained in:
parent
b02fc7b607
commit
b930036a45
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue