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);
},
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) {
() -> <o> toggle annotations
@*/
that.toggleAnnotations = function() {
that.$element.toggle(1);
self.$panel.toggleElement(1);
};
return that;