Fixed user-suggested songs

This commit is contained in:
Kasper Rynning-Tønnesen
2016-09-05 14:51:59 +02:00
parent 1f25aaedfc
commit 9a291c065c
6 changed files with 9 additions and 32 deletions

View File

@@ -306,6 +306,7 @@ var List = {
generateSong: function(song_info, transition, lazy, list, user)
{
if(list_html === undefined) list_html = $("#list-song-html").html();
var video_id = song_info.id;
var video_title = song_info.title;
var video_votes = song_info.votes;
@@ -332,7 +333,6 @@ var List = {
attr = ".vote-container";
del_attr = "del";
}else if(!list){
song.find(".vote-text").text(song_info.duration);
attr = ".add-suggested";