Merge pull request #100 from stecorb/fix-search-suggestions-popup-v2

Fix undesired search suggestions popup
This commit is contained in:
Preston 2020-08-24 19:54:48 -04:00 committed by GitHub
commit f75e8693ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ export default Vue.extend({
const searchContainer = $('.searchContainer').get(0)
searchContainer.blur()
searchContainer.style.display = 'none'
} else {
const searchInput = $('.searchInput input').get(0)
searchInput.blur()
}
this.$store.dispatch('getVideoIdFromUrl', query).then((result) => {