1
0
Fork 0
forked from 0x2620/oxjs

fix a bug in Ox.List where a select event would trigger even though the selection had not changed

This commit is contained in:
rlx 2012-02-15 20:21:17 +00:00
commit 8b9c5a485b
2 changed files with 11 additions and 6 deletions

View file

@ -1208,7 +1208,8 @@ Ox.VideoEditor = function(options, self) {
}
function toggleSize() {
self.options.videoSize = self.options.videoSize == 'small' ? 'large' : 'small';
self.options.videoSize = self.options.videoSize == 'small'
? 'large' : 'small';
setSizes();
self.$videoMenuButton.checkItem(self.options.videoSize);
self.$player[0].options({