mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-16 21:12:18 +00:00
Fixed issue with no duration shown on suggested
This commit is contained in:
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+4
-4
File diff suppressed because one or more lines are too long
@@ -847,6 +847,7 @@ var List = {
|
|||||||
var _temp_duration = Helper.secondsToOther(_song_info.duration);
|
var _temp_duration = Helper.secondsToOther(_song_info.duration);
|
||||||
song.find(".card-duration").text(Helper.pad(_temp_duration[0]) + ":" + Helper.pad(_temp_duration[1]));
|
song.find(".card-duration").text(Helper.pad(_temp_duration[0]) + ":" + Helper.pad(_temp_duration[1]));
|
||||||
}else if(!list){
|
}else if(!list){
|
||||||
|
song.find(".card-duration").remove();
|
||||||
song.find(".vote-text").text(_song_info.duration);
|
song.find(".vote-text").text(_song_info.duration);
|
||||||
|
|
||||||
attr = ".add-suggested";
|
attr = ".add-suggested";
|
||||||
|
|||||||
Reference in New Issue
Block a user