Fixed syntax
This commit is contained in:
parent
9dbb68b053
commit
f725f89079
@ -143,7 +143,7 @@ angular.module('myApp.filters', ['myApp.i18n'])
|
||||
var mins = Math.floor((duration % 3600) / 60)
|
||||
var secs = duration % 60
|
||||
|
||||
var durationStr = (hours ? hours + ':' : '') + mins + ':' secs
|
||||
var durationStr = (hours ? hours + ':' : '') + mins + ':' + secs
|
||||
|
||||
durationStr = durationStr.replace(/:(\d(?::|$))/g, ':0\1')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user