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()