1
0
Fork 0
forked from 0x2620/oxjs

fix some Select/MenuButton bugs

This commit is contained in:
rlx 2011-12-20 07:29:14 +00:00
commit cf567e5608
2 changed files with 31 additions and 23 deletions

View file

@ -39,13 +39,13 @@ Ox.MenuButton = function(options, self) {
})
.options(options || {})
.addClass(
'OxMenuButton Ox' + Ox.toTitleCase(self.options.style)
'OxSelect Ox' + Ox.toTitleCase(self.options.style)
)
.css(self.options.width == 'auto' ? {} : {
width: self.options.width - 2 + 'px'
})
.bindEvent({
click: showMenu
anyclick: showMenu
});
if (self.options.type == 'text') {