mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 15:43:24 +00:00
Place le focus dans le champ de filtre au chargement
This commit is contained in:
@@ -39,6 +39,9 @@ define("views/filter", function(require) {
|
||||
|
||||
this.$el.find(this.ui.searchField).val('');
|
||||
this.$el.find(this.ui.searchForm).submit();
|
||||
},
|
||||
onShow: function() {
|
||||
this.$el.find(this.ui.searchField).focus();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user