cosmetic changes

This commit is contained in:
rlx 2014-09-24 00:33:54 +02:00
parent 06dde25efe
commit 2d8d88b218

View file

@ -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 =$('<img>')
var $cut = $('<img>')
.addClass('OxCut')
.attr({src: Ox.UI.getImageURL('markerCut')}),
$chapter =$('<img>')
$chapter = $('<img>')
.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()