may fix 1369
This commit is contained in:
parent
b06d0fd7fc
commit
683c81f7ab
1 changed files with 6 additions and 3 deletions
|
@ -53,9 +53,12 @@ pandora.ui.itemClips = function(options) {
|
|||
: i == self.options.clips.length - 1 ? '2px -2px 2px 2px'
|
||||
: '2px'
|
||||
})
|
||||
.data(Ox.extend(annotations.length ? {
|
||||
.data(
|
||||
// default 5 second clips are annotations without id
|
||||
Ox.extend(annotations.length && annotations[0].id ? {
|
||||
annotation: annotations[0].id.split('/')[1]
|
||||
} : {}, {'in': clip['in'], out: clip.out}));
|
||||
} : {}, {'in': clip['in'], out: clip.out})
|
||||
);
|
||||
$item.find('.OxTarget').addClass('OxSpecialTarget');
|
||||
that.append($item);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue