From 3c12802ecea157a1e97bad7c6ebfab563126bf68 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Jan 2011 15:01:12 +0530 Subject: [PATCH] subtitles have .value for text --- build/js/ox.ui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 7fc3f308..f82f791f 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -10817,7 +10817,7 @@ requires self.$tooltip = new Ox.Tooltip({ title: subtitle ? '' + - Ox.highlight(subtitle.text, self.options.find).replace(/\n/g, '
') + '

' + + Ox.highlight(subtitle.value, self.options.find).replace(/\n/g, '
') + '
' + Ox.formatDuration(subtitle['in'], 3) + ' - ' + Ox.formatDuration(subtitle['out'], 3) : Ox.formatDuration(position, 3) }) @@ -10955,7 +10955,7 @@ requires left: (v['in'] * self.fps) + 'px', width: (((v['out'] - v['in']) * self.fps) - 4) + 'px' }) - .html(Ox.highlight(v.text, self.options.find)) + .html(Ox.highlight(v.value, self.options.find)) .appendTo(self.$timeline) }); @@ -11233,7 +11233,7 @@ requires self.$tooltip = new Ox.Tooltip({ title: subtitle ? '' + - Ox.highlight(subtitle.text, self.options.find).replace(/\n/g, '
') + '

' + + Ox.highlight(subtitle.value, self.options.find).replace(/\n/g, '
') + '
' + Ox.formatDuration(subtitle['in'], 3) + ' - ' + Ox.formatDuration(subtitle['out'], 3) : Ox.formatDuration(position, 3) }) @@ -11977,7 +11977,7 @@ requires var subtitle = ''; $.each(self.options.subtitles, function(i, v) { if (v['in'] <= self.options.position && v['out'] > self.options.position) { - subtitle = v.text; + subtitle = v.value; return false; } });