From 303bc1c0a79aaef4132b7ba8cfa5c24f015f112d Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 17 Nov 2014 21:08:10 +0000 Subject: [PATCH] toggle -> toggleElement --- source/UI/js/Video/VideoAnnotationPanel.js | 2 +- source/UI/js/Video/VideoPlayerPanel.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/UI/js/Video/VideoAnnotationPanel.js b/source/UI/js/Video/VideoAnnotationPanel.js index 0e6282a4..28148b8a 100644 --- a/source/UI/js/Video/VideoAnnotationPanel.js +++ b/source/UI/js/Video/VideoAnnotationPanel.js @@ -128,7 +128,7 @@ Ox.VideoAnnotationPanel = function(options, self) { ); }, showAnnotations: function() { - self.$mainPanel.toggle(1); + self.$mainPanel.toggleElement(1); }, timeline: function() { self.$menuButton.checkItem('timelines_' + self.options.timeline); diff --git a/source/UI/js/Video/VideoPlayerPanel.js b/source/UI/js/Video/VideoPlayerPanel.js index 4c03a907..85823b52 100644 --- a/source/UI/js/Video/VideoPlayerPanel.js +++ b/source/UI/js/Video/VideoPlayerPanel.js @@ -114,10 +114,10 @@ Ox.VideoPlayerPanel = function(options, self) { self.$annotationPanel.options({selected: self.options.selected}); }, showAnnotations: function() { - self.$mainPanel.toggle(1); + self.$mainPanel.toggleElement(1); }, showTimeline: function() { - self.$videoPanel.toggle(1); + self.$videoPanel.toggleElement(1); }, timeline: function() { self.$timeline.options({type: self.options.timeline}); @@ -680,7 +680,7 @@ Ox.VideoPlayerPanel = function(options, self) { () -> toggle visibility of annotations @*/ that.toggleAnnotations = function() { - self.$mainPanel.toggle(1); + self.$mainPanel.toggleElement(1); }; /*@ @@ -688,7 +688,7 @@ Ox.VideoPlayerPanel = function(options, self) { () -> toggle visibility of timeline @*/ that.toggleTimeline = function() { - self.$videoPanel.toggle(1); + self.$videoPanel.toggleElement(1); }; return that;