From 590ba4c3f22847c6badcd1ffe2113557d540cc66 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 24 Sep 2014 20:19:25 +0200 Subject: [PATCH] that. -> self. --- source/Ox.UI/js/Video/VideoTimelinePanel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Ox.UI/js/Video/VideoTimelinePanel.js b/source/Ox.UI/js/Video/VideoTimelinePanel.js index ec6a62e0..d7f12aa7 100644 --- a/source/Ox.UI/js/Video/VideoTimelinePanel.js +++ b/source/Ox.UI/js/Video/VideoTimelinePanel.js @@ -83,7 +83,7 @@ Ox.VideoTimelinePanel = function(options, self) { setPosition(self.options.position); }, showAnnotations: function() { - that.$element.toggle(1); + self.$panel.toggleElement(1); }, timeline: function() { self.$player.options({timeline: self.options.timeline}); @@ -222,7 +222,7 @@ Ox.VideoTimelinePanel = function(options, self) { }); that.setElement( - Ox.SplitPanel({ + self.$panel = Ox.SplitPanel({ elements: [ { element: self.$player @@ -315,7 +315,7 @@ Ox.VideoTimelinePanel = function(options, self) { () -> toggle annotations @*/ that.toggleAnnotations = function() { - that.$element.toggle(1); + self.$panel.toggleElement(1); }; return that;