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