Show 0 mins with 0 plays on user page.

This commit is contained in:
JonnyWong16 2015-08-19 19:43:54 -07:00 committed by Jonathan Wong
parent 9adf5cc39a
commit 9fc4573c42

View file

@ -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;
}
}