Show 0 mins with 0 plays on user page.
This commit is contained in:

committed by
Jonathan Wong

parent
9adf5cc39a
commit
9fc4573c42
@@ -251,6 +251,9 @@ function humanTime(seconds) {
|
||||
} else if (seconds >= 60) {
|
||||
text = '<h3>' + Math.floor(moment.duration(((seconds % 86400) % 3600), 'seconds').asMinutes()) + '</h3><p> mins</p>';
|
||||
return text;
|
||||
} else {
|
||||
text = '<h3>0</h3><p> mins</p>';
|
||||
return text;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user