rename a variable in video editor

This commit is contained in:
rlx 2012-04-17 11:59:08 +00:00
parent 7e8f5bef32
commit c6bfa97c68

View file

@ -429,7 +429,7 @@ Ox.VideoEditor = function(options, self) {
); );
}); });
self.$videoMenuButton = Ox.MenuButton({ self.$menuButton = Ox.MenuButton({
items: Ox.merge( items: Ox.merge(
[ [
{group: 'size', min: 1, max: 1, items: [ {group: 'size', min: 1, max: 1, items: [
@ -1287,7 +1287,7 @@ Ox.VideoEditor = function(options, self) {
self.options.videoSize = self.options.videoSize == 'small' self.options.videoSize = self.options.videoSize == 'small'
? 'large' : 'small'; ? 'large' : 'small';
setSizes(); setSizes();
self.$videoMenuButton.checkItem(self.options.videoSize); self.$menuButton.checkItem(self.options.videoSize);
self.$player[0].options({ self.$player[0].options({
sizeIsLarge: self.options.videoSize == 'large' sizeIsLarge: self.options.videoSize == 'large'
}); });