Added descriptions and thumbnails, and fixed issue with pagination on add song

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-08 13:18:19 +01:00
parent 4eb3ac6f10
commit cc61d70218
8 changed files with 150 additions and 49 deletions

View File

@@ -73,6 +73,9 @@ var Frontpage = {
var id = lists[x].id;
var viewers = lists[x].viewers;
var img = "background-image:url('https://img.youtube.com/vi/"+id+"/hqdefault.jpg');";
if(lists[x].thumbnail){
img = "background-image:url('" + lists[x].thumbnail + "');";
}
var song_count = lists[x].count;
//$("#channels").append(channel_list);