From 43ffd76e2ab895319967c723feeb3996c7fe9280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 8 May 2015 21:45:06 +0200 Subject: [PATCH] testing --- static/js/search.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/search.js b/static/js/search.js index 2d9bbd4f..ac3843ff 100755 --- a/static/js/search.js +++ b/static/js/search.js @@ -193,9 +193,7 @@ function search(search_input){ duration = duration.replace("PT","").replace("H","h ").replace("M","m ").replace("S","s") thumb=song.snippet.thumbnails.medium.url; - console.log(result_html); $("#results").append(result_html); - output += result_html; var song = $("#result"); song.find(".search-title").text(title); @@ -204,11 +202,10 @@ function search(search_input){ song.find(".add-many").attr("onclick", "submit('"+id+"','"+enc_title+"',"+secs+");"); song.attr("onclick", "submitAndClose('"+id+"','"+enc_title+"',"+secs+");"); song.attr("id",id); + console.log(song); } }); - console.log(output); - if(!contains($("#search_loader").attr("class").split(" "), "hide")) $("#search_loader").addClass("hide");