mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	testing
This commit is contained in:
		@@ -179,6 +179,9 @@ function search(search_input){
 | 
			
		||||
				url: vid_url,
 | 
			
		||||
				dataType:"jsonp",
 | 
			
		||||
				success: function(response){
 | 
			
		||||
 | 
			
		||||
					var output = "";
 | 
			
		||||
 | 
			
		||||
					$.each(response.items, function(i,song)
 | 
			
		||||
					{
 | 
			
		||||
						var duration=song.contentDetails.duration;
 | 
			
		||||
@@ -192,6 +195,7 @@ function search(search_input){
 | 
			
		||||
 | 
			
		||||
							console.log(result_html);
 | 
			
		||||
							$("#results").append(result_html);
 | 
			
		||||
							output += result_html;
 | 
			
		||||
 | 
			
		||||
							var song = $("#result");
 | 
			
		||||
							song.find(".search-title").text(title);
 | 
			
		||||
@@ -203,6 +207,8 @@ function search(search_input){
 | 
			
		||||
						}
 | 
			
		||||
					});
 | 
			
		||||
 | 
			
		||||
					console.log(output);
 | 
			
		||||
 | 
			
		||||
					if(!contains($("#search_loader").attr("class").split(" "), "hide"))
 | 
			
		||||
						$("#search_loader").addClass("hide");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user