fix undesired search suggestions popup
This commit is contained in:
parent
feea541fdb
commit
0262cbfb54
|
@ -78,6 +78,9 @@ export default Vue.extend({
|
||||||
const searchContainer = $('.searchContainer').get(0)
|
const searchContainer = $('.searchContainer').get(0)
|
||||||
searchContainer.blur()
|
searchContainer.blur()
|
||||||
searchContainer.style.display = 'none'
|
searchContainer.style.display = 'none'
|
||||||
|
} else {
|
||||||
|
const searchInput = $('.searchInput input').get(0)
|
||||||
|
searchInput.blur()
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$store.dispatch('getVideoIdFromUrl', query).then((result) => {
|
this.$store.dispatch('getVideoIdFromUrl', query).then((result) => {
|
||||||
|
|
Loading…
Reference in New Issue