commit
7de0935ac7
|
@ -129,7 +129,7 @@ function processGame(game) {
|
||||||
let trimmedTitle = model.title.toLowerCase();
|
let trimmedTitle = model.title.toLowerCase();
|
||||||
toTrim.forEach(trim => {
|
toTrim.forEach(trim => {
|
||||||
if (trimmedTitle.startsWith(trim + " ")) {
|
if (trimmedTitle.startsWith(trim + " ")) {
|
||||||
trimmedTitle = trimmedTitle.substr(trim.length + 2);
|
trimmedTitle = trimmedTitle.substr(trim.length + 1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in New Issue