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: {
|
methods: {
|
||||||
newSearchTerm: (text) => {
|
newSearchTerm: (text) => {
|
||||||
|
loadingView.seen = true;
|
||||||
document.getElementById('search').value = text;
|
document.getElementById('search').value = text;
|
||||||
getSearchSuggestion();
|
getSearchSuggestion();
|
||||||
|
search();
|
||||||
searchSuggestionsView.seen = false;
|
searchSuggestionsView.seen = false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue