From 2d8d88b21813114d75b2161309b96090e373faf9 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 24 Sep 2014 00:33:54 +0200 Subject: [PATCH] cosmetic changes --- source/Ox.UI/js/Video/LargeVideoTimeline.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Ox.UI/js/Video/LargeVideoTimeline.js b/source/Ox.UI/js/Video/LargeVideoTimeline.js index 3170cb00..c264ec27 100644 --- a/source/Ox.UI/js/Video/LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/LargeVideoTimeline.js @@ -96,15 +96,15 @@ Ox.LargeVideoTimeline = function(options, self) { } setTimeout(function() { - var chapters = self.options.chapters.slice(1).map(function(chapter) { - return chapter.position; - }), - $cut =$('') + var $cut = $('') .addClass('OxCut') .attr({src: Ox.UI.getImageURL('markerCut')}), - $chapter =$('') + $chapter = $('') .addClass('OxChapter') - .attr({src: Ox.UI.getImageURL('markerChapter')}); + .attr({src: Ox.UI.getImageURL('markerChapter')}), + chapters = self.options.chapters.slice(1).map(function(chapter) { + return chapter.position; + }); Ox.unique(chapters.concat(self.options.cuts)).forEach(function(v, i) { self.$cuts[i] = (Ox.contains(chapters, v) ? $chapter : $cut) .clone()