aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorflxy <flxy@staycomfy.dev>2023-01-11 13:52:49 +0100
committerflxy <flxy@staycomfy.dev>2023-01-11 13:52:49 +0100
commitaea9f92d39df4af5e7579e9d0ec443d3fb18a756 (patch)
tree44e7c5714da7b8ad2b854769cbd8de52d83e74dc /src
parent5dc6cbd487ff5e1f8a709e1886dd1a850cae9ce8 (diff)
Adjust query selector to actually get the popover now
Diffstat (limited to 'src')
-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 2a0dac85..58fbb61b 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 = this.$el.querySelector('input')
+ const input = document.querySelector('.popover.ReactButton').querySelector('input')
if (input) input.focus()
})
},