Pick a better query selector

This commit is contained in:
flxy 2023-01-11 14:12:29 +01:00
parent aea9f92d39
commit d81fdafacb

View file

@ -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()
})
},