mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Rule for dot at the end
This commit is contained in:
2
public/dist/embed.min.js
vendored
2
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
public/dist/main.min.js
vendored
4
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -500,6 +500,9 @@ var List = {
|
||||
data.name = data.name.replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ");
|
||||
data.artists[0].name = data.artists[0].name.replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ").replace(" ", " ");
|
||||
if(data.name.substring(data.name.length-1) == " ") data.name = data.name.substring(0,data.name.length-1);
|
||||
if(data.name.substring(data.name.length-1) == "." && track.substring(track.length-1) != "."){
|
||||
data.name = data.name.substring(0,data.name.length-1);
|
||||
}
|
||||
if(decodeURIComponent(track).indexOf(data.artists[0].name.toLowerCase()) >= 0 && decodeURIComponent(track).indexOf(data.name.toLowerCase()) >= 0){
|
||||
found = true;
|
||||
List.uris.push(data.uri);
|
||||
|
||||
Reference in New Issue
Block a user