Matching durations along both suggested and regular

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-16 12:16:28 +01:00
parent efcd71cb02
commit 96070e2591
4 changed files with 8 additions and 7 deletions

View File

@@ -847,8 +847,9 @@ var List = {
var _temp_duration = Helper.secondsToOther(_song_info.duration);
song.find(".card-duration").text(Helper.pad(_temp_duration[0]) + ":" + Helper.pad(_temp_duration[1]));
}else if(!list){
song.find(".card-duration").remove();
song.find(".vote-text").text(_song_info.duration);
//song.find(".card-duration").remove();
song.find(".vote-text").text("");
song.find(".card-duration").text(_song_info.duration);
attr = ".add-suggested";
if(user)