diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index 3aacf520..04e7ca22 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -247,9 +247,9 @@ Ox.VideoEditPanel = function(options, self) { that.triggerEvent('muted', data); }, open: function(data) { - var clip = Ox.clone(Ox.last(self.options.clips.filter(function(clip) { - return clip.position < self.options.position; - }))); + var clip = Ox.last(self.options.clips.filter(function(clip) { + return clip.position <= self.options.position; + })); that.triggerEvent('openlink', { annotation: clip.annotation, 'in': clip['in'],