mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Decode URI in list too to be save
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user