Removed replace of '

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-13 14:01:36 +02:00
parent 5baaab8575
commit 5c35cf79ff
2 changed files with 2 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ var Search = {
{
var duration=Search.durationToSeconds(song.contentDetails.duration);
if(!longsongs || duration<720){
enc_title=encodeURIComponent(song.snippet.title).replace(/'/g, "\\\'");
enc_title=encodeURIComponent(song.snippet.title);
Search.submit(song.id, enc_title, duration);
}
});