1
0
Fork 0
forked from 0x2620/oxjs

add 'uncheckItem' method to menus and menubuttons, fix toggleSize in video editor

This commit is contained in:
rlx 2012-04-18 07:57:59 +00:00
commit 02696ae741
3 changed files with 14 additions and 3 deletions

View file

@ -1300,7 +1300,9 @@ Ox.VideoEditor = function(options, self) {
self.options.videoSize = self.options.videoSize == 'small'
? 'large' : 'small';
setSizes();
self.$menuButton.checkItem(self.options.videoSize);
self.$menuButton[
self.options.videoSize == 'small' ? 'uncheckItem' : 'checkItem'
]('size');
self.$player[0].options({
sizeIsLarge: self.options.videoSize == 'large'
});