diff --git a/public/js/app/search.js b/public/js/app/search.js index c9c2544..9ad706c 100644 --- a/public/js/app/search.js +++ b/public/js/app/search.js @@ -154,7 +154,7 @@ $("#searchbar").keyup(function(e){ term = this.value console.log(term) if (isValidURL(term)) - socket.emit("addToQueue", {url: term}); + sendAddToQueue(term); else{ document.getElementById("search_tab_content").style.display = "none"; socket.emit("mainSearch", {term: term});