Browse Source

Fixed syntax

master
Igor Zhukov 8 years ago
parent
commit
f725f89079
  1. 2
      app/js/filters.js

2
app/js/filters.js

@ -143,7 +143,7 @@ angular.module('myApp.filters', ['myApp.i18n']) @@ -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…
Cancel
Save