Fix typo
This fixes the appearance of TLOZ, among others, with the regression introduced by the last push ( :P ).
This commit is contained in:
parent
869c2918a7
commit
ea33fb8d95
|
@ -129,7 +129,7 @@ function processGame(game) {
|
|||
let trimmedTitle = model.title.toLowerCase();
|
||||
toTrim.forEach(trim => {
|
||||
if (trimmedTitle.startsWith(trim + " ")) {
|
||||
trimmedTitle = trimmedTitle.substr(trim.length + 2);
|
||||
trimmedTitle = trimmedTitle.substr(trim.length + 1);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Reference in New Issue