toggle -> toggleElement
This commit is contained in:
parent
ebc66bd68b
commit
303bc1c0a7
2 changed files with 5 additions and 5 deletions
|
@ -128,7 +128,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
showAnnotations: function() {
|
showAnnotations: function() {
|
||||||
self.$mainPanel.toggle(1);
|
self.$mainPanel.toggleElement(1);
|
||||||
},
|
},
|
||||||
timeline: function() {
|
timeline: function() {
|
||||||
self.$menuButton.checkItem('timelines_' + self.options.timeline);
|
self.$menuButton.checkItem('timelines_' + self.options.timeline);
|
||||||
|
|
|
@ -114,10 +114,10 @@ Ox.VideoPlayerPanel = function(options, self) {
|
||||||
self.$annotationPanel.options({selected: self.options.selected});
|
self.$annotationPanel.options({selected: self.options.selected});
|
||||||
},
|
},
|
||||||
showAnnotations: function() {
|
showAnnotations: function() {
|
||||||
self.$mainPanel.toggle(1);
|
self.$mainPanel.toggleElement(1);
|
||||||
},
|
},
|
||||||
showTimeline: function() {
|
showTimeline: function() {
|
||||||
self.$videoPanel.toggle(1);
|
self.$videoPanel.toggleElement(1);
|
||||||
},
|
},
|
||||||
timeline: function() {
|
timeline: function() {
|
||||||
self.$timeline.options({type: self.options.timeline});
|
self.$timeline.options({type: self.options.timeline});
|
||||||
|
@ -680,7 +680,7 @@ Ox.VideoPlayerPanel = function(options, self) {
|
||||||
() -> <o> toggle visibility of annotations
|
() -> <o> toggle visibility of annotations
|
||||||
@*/
|
@*/
|
||||||
that.toggleAnnotations = function() {
|
that.toggleAnnotations = function() {
|
||||||
self.$mainPanel.toggle(1);
|
self.$mainPanel.toggleElement(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
@ -688,7 +688,7 @@ Ox.VideoPlayerPanel = function(options, self) {
|
||||||
() -> <o> toggle visibility of timeline
|
() -> <o> toggle visibility of timeline
|
||||||
@*/
|
@*/
|
||||||
that.toggleTimeline = function() {
|
that.toggleTimeline = function() {
|
||||||
self.$videoPanel.toggle(1);
|
self.$videoPanel.toggleElement(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
|
|
Loading…
Reference in a new issue