diff options
author | Marco Ambrosini <marcoambrosini@icloud.com> | 2022-08-24 18:43:22 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-01 15:57:54 +0200 |
commit | 3d42b003eb591b1909a0853b017d6e61c9e05199 (patch) | |
tree | da328d7b1ab29a1aa328018e400ff52eb518a77a /src/components/LeftSidebar/SearchBox/SearchBox.vue | |
parent | b571db11ae94ce98fbebb5ad46ff805bdd577a43 (diff) |
Fix .focus is not a function
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Diffstat (limited to 'src/components/LeftSidebar/SearchBox/SearchBox.vue')
-rw-r--r-- | src/components/LeftSidebar/SearchBox/SearchBox.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/LeftSidebar/SearchBox/SearchBox.vue b/src/components/LeftSidebar/SearchBox/SearchBox.vue index 9d36b26c7..cb3d11943 100644 --- a/src/components/LeftSidebar/SearchBox/SearchBox.vue +++ b/src/components/LeftSidebar/SearchBox/SearchBox.vue @@ -101,7 +101,7 @@ export default { methods: { // Focus the input field of the searchbox component. focusInput() { - this.$refs.searchConversations.focus() + this.$refs.searchConversations.$el.focus() }, // Focuses the input if the current route is root. focusInputIfRoot() { |