1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-08 23:53:24 +00:00

Ajoute le personnage dans la balise title et dans le filtre

This commit is contained in:
Antoine
2016-04-23 18:50:39 +02:00
parent 956fc3ec8a
commit 338b93ce36
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ define(
var pattern = new RegExp(search, 'gi');
return new Sounds(this.filter(function(data) {
return pattern.test(data.get('title'));
return pattern.test(data.get('title')) || pattern.test(data.get('character'));
}));
}
});