aboutsummaryrefslogtreecommitdiff
path: root/src/components/react_button/react_button.js
diff options
context:
space:
mode:
authorflxy <flxy@staycomfy.dev>2023-01-11 14:12:29 +0100
committerflxy <flxy@staycomfy.dev>2023-01-11 14:12:29 +0100
commitd81fdafacb86b120714b6541bd83cf588ab8b577 (patch)
tree6af4c9ca12f76f7b002e53b5c17446269fd30c4a /src/components/react_button/react_button.js
parentaea9f92d39df4af5e7579e9d0ec443d3fb18a756 (diff)
Pick a better query selector
Diffstat (limited to 'src/components/react_button/react_button.js')
-rw-r--r--src/components/react_button/react_button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/react_button/react_button.js b/src/components/react_button/react_button.js
index 58fbb61b..47a48623 100644
--- a/src/components/react_button/react_button.js
+++ b/src/components/react_button/react_button.js
@@ -41,7 +41,7 @@ const ReactButton = {
},
focusInput () {
this.$nextTick(() => {
- const input = document.querySelector('.popover.ReactButton').querySelector('input')
+ const input = document.querySelector('.reaction-picker-filter > input')
if (input) input.focus()
})
},