misc bugfixes
This commit is contained in:
parent
02f53a57c1
commit
60281a666b
3 changed files with 6 additions and 6 deletions
|
@ -159,11 +159,11 @@ Ox.Select = function(options, self) {
|
|||
self.options.title ? self.options.title : getItem(self.options.value).title
|
||||
);
|
||||
that.triggerEvent('change', {
|
||||
title: Ox.isString(self.options.value)
|
||||
? getItem(self.options.value).title
|
||||
: self.options.value.map(function(value) {
|
||||
title: Ox.isArray(self.options.value)
|
||||
? self.options.value.map(function(value) {
|
||||
return getItem(value).title;
|
||||
}),
|
||||
})
|
||||
: getItem(self.options.value).title,
|
||||
value: self.options.value
|
||||
});
|
||||
}
|
||||
|
|
|
@ -440,7 +440,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
width: 256
|
||||
}).open();
|
||||
} else if (id == 'resolution') {
|
||||
self.options.resolution = parseInt(value);
|
||||
self.options.resolution = parseInt(data.value);
|
||||
self.$player[0].options({resolution: self.options.resolution});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1702,7 +1702,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
title: resolution + 'p'
|
||||
}
|
||||
}),
|
||||
self.options.subtitles
|
||||
self.options.subtitles.length
|
||||
? [{}, {
|
||||
checked: self.options.enableSubtitles,
|
||||
title: 'Subtitles'
|
||||
|
|
Loading…
Reference in a new issue