cosmetic changes
This commit is contained in:
parent
06dde25efe
commit
2d8d88b218
1 changed files with 6 additions and 6 deletions
|
@ -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>')
|
||||
.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()
|
||||
|
|
Loading…
Reference in a new issue