mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 15:43:24 +00:00
Modifie le style de code
This commit is contained in:
@@ -10,15 +10,17 @@ define(
|
||||
var SoundSearchView = Marionette.LayoutView.extend({
|
||||
template: SoundSearchTemplate,
|
||||
ui: {
|
||||
searchForm:'form',
|
||||
searchField:'form input[name="s"]',
|
||||
searchForm: 'form',
|
||||
searchField: 'form input[name="s"]'
|
||||
},
|
||||
events: {
|
||||
'submit @ui.searchForm':'filterSounds',
|
||||
'keyup @ui.searchField':'filterSounds'
|
||||
'submit @ui.searchForm': 'filterSounds',
|
||||
'keyup @ui.searchField': 'filterSounds'
|
||||
},
|
||||
filterSounds: function() {
|
||||
filterSounds: function(e) {
|
||||
var search = $(this.ui.searchField).val();
|
||||
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user