MenuButton: add missing OxOverlay class
This commit is contained in:
parent
df59c90aa7
commit
ef3d55d0b2
1 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,11 @@ Ox.MenuButton = function(options, self) {
|
|||
}
|
||||
})
|
||||
.addClass(
|
||||
'OxSelect Ox' + Ox.toTitleCase(self.options.style)
|
||||
'OxSelect Ox' + Ox.toTitleCase(self.options.style) + (
|
||||
self.options.overlap != 'none'
|
||||
? ' OxOverlap' + Ox.toTitleCase(self.options.overlap)
|
||||
: ''
|
||||
)
|
||||
)
|
||||
.css(self.options.width == 'auto' ? {} : {
|
||||
width: self.options.width - 2 + 'px'
|
||||
|
|
Loading…
Reference in a new issue