Browse Source

Pick a better query selector

flxy 2 years ago
parent
commit
d81fdafacb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/react_button/react_button.js

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