mirror of https://github.com/FreeTubeApp/FreeTube
Perform search on suggestion click
This commit is contained in:
parent
6dd62407d8
commit
f5c3da95e2
|
@ -168,8 +168,10 @@ let searchSuggestionsView = new Vue({
|
|||
},
|
||||
methods: {
|
||||
newSearchTerm: (text) => {
|
||||
loadingView.seen = true;
|
||||
document.getElementById('search').value = text;
|
||||
getSearchSuggestion();
|
||||
search();
|
||||
searchSuggestionsView.seen = false;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue