1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-24 02:05:26 +01:00

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