Removed video id as id for result div, when it removes the result if it exists in the list

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-22 17:20:13 +02:00
parent edb81f2214
commit 32fb6a165b
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -83,7 +83,7 @@ var Search = {
songs.find(".thumb").attr("data-original", thumb);
songs.find(".add-many").attr("onclick", "submit('"+id+"','"+enc_title+"',"+secs+");");
$($(songs).find("div")[0]).attr("onclick", "submitAndClose('"+id+"','"+enc_title+"',"+secs+");");
$($(songs).find("div")[0]).attr("id", id)
//$($(songs).find("div")[0]).attr("id", id)
output += songs.html();
}