mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-10 00:15:34 +00:00
WIP - Filtre les sons
This commit is contained in:
@@ -30,6 +30,12 @@ define(
|
||||
|
||||
that.render();
|
||||
});
|
||||
|
||||
this.channel.on('sounds:filter', function(search) {
|
||||
that.data.sounds = that.collection.filterByTitle(search).toJSON();
|
||||
|
||||
that.render();
|
||||
});
|
||||
},
|
||||
stopPlayingSound: function() {
|
||||
var playingSound = this.collection.findWhere({playing: true});
|
||||
|
||||
Reference in New Issue
Block a user