Skip to content

Commit

Permalink
[IMPROVE] Added autofocus to Directory (#16217)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Feb 20, 2020
2 parents 47abfd3 + 26f4590 commit 4fa663d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/ui/client/views/app/directory.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ Template.directory.events({
});

Template.directory.onRendered(function() {
this.$('input').focus();
function setResults(result) {
if (!Array.isArray(result)) {
result = [];
Expand Down

0 comments on commit 4fa663d

Please sign in to comment.