in Ox.VideoPanel, use setElement(...), not that. = ...
This commit is contained in:
parent
79fb1fb968
commit
c6f0308a17
1 changed files with 6 additions and 4 deletions
|
@ -262,7 +262,8 @@ Ox.VideoPanel = function(options, self) {
|
|||
});
|
||||
});
|
||||
|
||||
that.$element = Ox.SplitPanel({
|
||||
that.setElement(
|
||||
Ox.SplitPanel({
|
||||
elements: [
|
||||
{
|
||||
element: self.$videoPanel
|
||||
|
@ -278,7 +279,8 @@ Ox.VideoPanel = function(options, self) {
|
|||
}
|
||||
],
|
||||
orientation: 'horizontal'
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
function changeTimeline(data) {
|
||||
self.options.position = data.position;
|
||||
|
@ -308,8 +310,8 @@ Ox.VideoPanel = function(options, self) {
|
|||
|
||||
function getTimelineWidth() {
|
||||
return self.options.width -
|
||||
(self.options.showAnnotations && !self.fullscreen) *
|
||||
self.options.annotationsSize - 16 - 1;
|
||||
(self.options.showAnnotations && !self.fullscreen)
|
||||
* self.options.annotationsSize - 16 - 1;
|
||||
}
|
||||
|
||||
function resizeAnnotations(data) {
|
||||
|
|
Loading…
Reference in a new issue