Ox.Checkbox: set width on init
This commit is contained in:
parent
c0837fb4ff
commit
4b29ffe70e
1 changed files with 4 additions and 1 deletions
|
@ -54,7 +54,10 @@ Ox.Checkbox = function(options, self) {
|
|||
))
|
||||
.attr({
|
||||
disabled: self.options.disabled
|
||||
});
|
||||
})
|
||||
.css(self.options.width != 'auto' ? {
|
||||
width: self.options.width
|
||||
} : {});
|
||||
|
||||
if (self.options.title) {
|
||||
self.options.width != 'auto' && that.css({
|
||||
|
|
Loading…
Reference in a new issue