mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Close results on search toggler, descriptive logging
This commit is contained in:
@@ -127,7 +127,9 @@ function showSearch(){
|
|||||||
$(".search_input").focus();
|
$(".search_input").focus();
|
||||||
}
|
}
|
||||||
$("#song-title").toggleClass("hide");
|
$("#song-title").toggleClass("hide");
|
||||||
|
$("#results").toggleClass("hide");
|
||||||
$("#search").focus();
|
$("#search").focus();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function search(search_input){
|
function search(search_input){
|
||||||
@@ -155,7 +157,7 @@ function search(search_input){
|
|||||||
{
|
{
|
||||||
vid_url += data.id.videoId+",";
|
vid_url += data.id.videoId+",";
|
||||||
});
|
});
|
||||||
console.log(vid_url)
|
console.log("Search for: "+keyword)
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
|||||||
Reference in New Issue
Block a user