use Ox.highlight; minor reformatting

This commit is contained in:
rolux 2012-06-03 10:41:18 +02:00
commit 4ba06fde41
7 changed files with 21 additions and 15 deletions

View file

@ -184,8 +184,7 @@ Ox.SmallVideoTimeline = function(options, self) {
return subtitle
? '<span class=\'OxBright\'>' + Ox.highlight(
subtitle.text, self.options.find, 'OxHighlight'
).replace(/\n/g, '<br/>') + '</span><br/>'
+ Ox.formatDuration(
).replace(/\n/g, '<br/>') + '</span><br/>' + Ox.formatDuration(
subtitle['in'], self.options.showMilliseconds
) + ' - ' + Ox.formatDuration(
subtitle['out'], self.options.showMilliseconds