Skip to content

Commit

Permalink
<br> after track name
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHuber committed Nov 17, 2016
1 parent 9de85ef commit fd7a214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var getSpotify = function(userInput) {
buildPreview += '<div class="col-md-4 space"><a href="#" class="thumbnail">'
buildPreview += '<img src="' + tracks[i].album.images[0].url + '"'
buildPreview += 'alt="' + tracks[i].preview_url + '"></a>'
buildPreview += tracks[i].name + '<audio controls><source src="' + tracks[i].preview_url + '" type="audio/mp4"></div>'
buildPreview += tracks[i].name + '<br><audio controls><source src="' + tracks[i].preview_url + '" type="audio/mp4"></div>'
}
console.log(buildTrack);
$(".js-search-results").html(buildTrack);
Expand Down

0 comments on commit fd7a214

Please sign in to comment.