1
0
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:
Antoine
2017-12-05 23:04:14 +01:00
parent 520e0faa32
commit ac0692deba

View File

@@ -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();
}
});