diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index ea22958f..9f18a869 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -314,10 +314,6 @@ Ox.VideoEditPanel = function(options, self) { that.triggerEvent('position', {position: self.options.position}); } - function getClipById(id) { - return Ox.getObjectById(self.options.clips, id); - } - function getChapters() { var currentTime = 0; return self.options.clips.map(function(clip) { @@ -330,6 +326,10 @@ Ox.VideoEditPanel = function(options, self) { }); } + function getClipById(id) { + return Ox.getObjectById(self.options.clips, id); + } + function getPlayerHeight() { return self.options.height - 24 - self.options.showTimeline * 80 - 1;