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() {
|
setTimeout(function() {
|
||||||
var chapters = self.options.chapters.slice(1).map(function(chapter) {
|
var $cut = $('<img>')
|
||||||
return chapter.position;
|
|
||||||
}),
|
|
||||||
$cut =$('<img>')
|
|
||||||
.addClass('OxCut')
|
.addClass('OxCut')
|
||||||
.attr({src: Ox.UI.getImageURL('markerCut')}),
|
.attr({src: Ox.UI.getImageURL('markerCut')}),
|
||||||
$chapter =$('<img>')
|
$chapter = $('<img>')
|
||||||
.addClass('OxChapter')
|
.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) {
|
Ox.unique(chapters.concat(self.options.cuts)).forEach(function(v, i) {
|
||||||
self.$cuts[i] = (Ox.contains(chapters, v) ? $chapter : $cut)
|
self.$cuts[i] = (Ox.contains(chapters, v) ? $chapter : $cut)
|
||||||
.clone()
|
.clone()
|
||||||
|
|
Loading…
Reference in a new issue