that. -> self.

This commit is contained in:
rlx 2014-09-24 20:19:25 +02:00
parent ecdf80a31d
commit 590ba4c3f2

View file

@ -83,7 +83,7 @@ Ox.VideoTimelinePanel = function(options, self) {
setPosition(self.options.position); setPosition(self.options.position);
}, },
showAnnotations: function() { showAnnotations: function() {
that.$element.toggle(1); self.$panel.toggleElement(1);
}, },
timeline: function() { timeline: function() {
self.$player.options({timeline: self.options.timeline}); self.$player.options({timeline: self.options.timeline});
@ -222,7 +222,7 @@ Ox.VideoTimelinePanel = function(options, self) {
}); });
that.setElement( that.setElement(
Ox.SplitPanel({ self.$panel = Ox.SplitPanel({
elements: [ elements: [
{ {
element: self.$player element: self.$player
@ -315,7 +315,7 @@ Ox.VideoTimelinePanel = function(options, self) {
() -> <o> toggle annotations () -> <o> toggle annotations
@*/ @*/
that.toggleAnnotations = function() { that.toggleAnnotations = function() {
that.$element.toggle(1); self.$panel.toggleElement(1);
}; };
return that; return that;