citra-emu
/
citra-web
Archived
1
0
Fork 0

Fixed bad sorting

This commit is contained in:
James 2017-06-19 14:15:31 +10:00 committed by GitHub
parent 091639e740
commit 869c2918a7
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ 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 + 1); trimmedTitle = trimmedTitle.substr(trim.length + 2);
} }
}); });