From c6f0308a1772d7d4cbf2c9e84de302d2b4b00ce5 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Tue, 17 Apr 2012 07:51:32 +0000 Subject: [PATCH] in Ox.VideoPanel, use setElement(...), not that. = ... --- source/Ox.UI/js/Video/Ox.VideoPanel.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/Ox.UI/js/Video/Ox.VideoPanel.js b/source/Ox.UI/js/Video/Ox.VideoPanel.js index 1d6fb0b7..2b75cd83 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPanel.js +++ b/source/Ox.UI/js/Video/Ox.VideoPanel.js @@ -262,7 +262,8 @@ Ox.VideoPanel = function(options, self) { }); }); - that.$element = Ox.SplitPanel({ + that.setElement( + Ox.SplitPanel({ elements: [ { element: self.$videoPanel @@ -278,7 +279,8 @@ Ox.VideoPanel = function(options, self) { } ], orientation: 'horizontal' - }); + }) + ); function changeTimeline(data) { self.options.position = data.position; @@ -308,8 +310,8 @@ Ox.VideoPanel = function(options, self) { function getTimelineWidth() { return self.options.width - - (self.options.showAnnotations && !self.fullscreen) * - self.options.annotationsSize - 16 - 1; + (self.options.showAnnotations && !self.fullscreen) + * self.options.annotationsSize - 16 - 1; } function resizeAnnotations(data) {