Decode URI in list too to be save

This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-15 09:20:43 +02:00
parent 4cf5e9deda
commit e0b0b01f5a

View File

@@ -54,7 +54,7 @@ function populate_list(msg)
}
}else if(!listeID.now_playing){ //check that the song isnt playing
var video_title=listeID.title.replace(/\\\'/g, "'").replace(/"/g,"'").replace(/&/g,"&");
var video_title=decodeURIComponent(listeID.title);
var video_id = listeID.id;
var video_thumb = "background-image:url('http://img.youtube.com/vi/"+video_id+"/mqdefault.jpg');";
//var delsong = ""; if(pass_corr=="correct");