fix block timeline tooltip (text is HTML)

This commit is contained in:
rolux 2014-01-15 17:25:02 +05:30
parent e836071a1e
commit a579d08f41

View file

@ -220,7 +220,7 @@ Ox.BlockVideoTimeline = function(options, self) {
title: subtitle title: subtitle
? '<span class=\'OxBright\'>' + Ox.highlight( ? '<span class=\'OxBright\'>' + Ox.highlight(
subtitle.text, self.options.find, 'OxHighlight', true subtitle.text, self.options.find, 'OxHighlight', true
).replace(/\n/g, '<br/>') + '</span><br/>' ).replace(/\n/g, ' ') + '</span><br/>'
+ Ox.formatDuration(subtitle['in'], 3) + ' - ' + Ox.formatDuration(subtitle['in'], 3) + ' - '
+ Ox.formatDuration(subtitle['out'], 3) + Ox.formatDuration(subtitle['out'], 3)
: Ox.formatDuration(position) : Ox.formatDuration(position)