commit: d81fdafacb86b120714b6541bd83cf588ab8b577
parent aea9f92d39df4af5e7579e9d0ec443d3fb18a756
Author: flxy <flxy@staycomfy.dev>
Date: Wed, 11 Jan 2023 14:12:29 +0100
Pick a better query selector
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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()
})
},