1
0
Fork 0
forked from 0x2620/oxjs

Ox.Checkbox: set width on init

This commit is contained in:
rolux 2012-07-09 16:00:14 +02:00
commit 4b29ffe70e

View file

@ -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({