went back to old search tab because of bugs

This commit is contained in:
Roberto Tonino
2020-04-17 21:33:46 +02:00
parent 6b97eb2c5a
commit f15047c5b8
2 changed files with 133 additions and 3 deletions

View File

@@ -172,6 +172,8 @@ $("#searchbar").keyup(function(e){
sendAddToQueue(term);
}
}else{
console.log( term );
if (term != MainSearch.results.QUERY || main_selected == 'search_tab'){
document.getElementById("search_tab_content").style.display = "none";
socket.emit("mainSearch", {term: term});