Fixed issues with window-history and soundcloud.load function

This commit is contained in:
Kasper Rynning-Tønnesen
2018-05-03 19:31:31 +02:00
parent c1b905612d
commit b3231bf54f
12 changed files with 88 additions and 50 deletions

View File

@@ -80,7 +80,7 @@ var Frontpage = {
var description = lists[x].description;
var img;
if(id.indexOf("soundcloud.com") > -1) {
img = "background-image:url('http://icons.iconarchive.com/icons/uiconstock/socialmedia/128/Soundcloud-icon.png');";
img = "background-image:url('" + lists[x].thumbnail + "');";
} else {
img = "background-image:url('https://img.youtube.com/vi/"+id+"/hqdefault.jpg');";
if(lists[x].thumbnail) {