Merge pull request #100 from stecorb/fix-search-suggestions-popup-v2
Fix undesired search suggestions popup
This commit is contained in:
commit
f75e8693ef
|
@ -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