From 34d723215b05078e19da68cdae5edf9c8f699b87 Mon Sep 17 00:00:00 2001 From: jasper Date: Thu, 21 Feb 2019 11:20:46 -0800 Subject: [PATCH 1/2] Activate user search text field --- src/components/user_finder/user_finder.js | 1 + src/components/user_finder/user_finder.vue | 2 +- src/components/user_search/user_search.js | 1 + src/components/user_search/user_search.vue | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/user_finder/user_finder.js b/src/components/user_finder/user_finder.js index 55c6c402f5..6420994147 100644 --- a/src/components/user_finder/user_finder.js +++ b/src/components/user_finder/user_finder.js @@ -8,6 +8,7 @@ const UserFinder = { methods: { findUser (username) { this.$router.push({ name: 'user-search', query: { query: username } }) + this.$refs.username.focus() }, toggleHidden () { this.hidden = !this.hidden diff --git a/src/components/user_finder/user_finder.vue b/src/components/user_finder/user_finder.vue index 37d628fa70..2f8b8900fb 100644 --- a/src/components/user_finder/user_finder.vue +++ b/src/components/user_finder/user_finder.vue @@ -4,7 +4,7 @@