mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-10 00:15:34 +00:00
Ajoute le personnage dans la balise title et dans le filtre
This commit is contained in:
@@ -19,7 +19,7 @@ define(
|
|||||||
|
|
||||||
var pattern = new RegExp(search, 'gi');
|
var pattern = new RegExp(search, 'gi');
|
||||||
return new Sounds(this.filter(function(data) {
|
return new Sounds(this.filter(function(data) {
|
||||||
return pattern.test(data.get('title'));
|
return pattern.test(data.get('title')) || pattern.test(data.get('character'));
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<a href="#" role="button" title="{{episode}}" class="btn btn-play">{{title}}</a>
|
<a href="#" role="button" title="{{character}}, {{episode}}" class="btn btn-play">{{title}}</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user