minor reformatting
This commit is contained in:
parent
3e2c2d451e
commit
cd6e17d124
1 changed files with 4 additions and 4 deletions
|
@ -69,10 +69,6 @@ Ox.Button = function(options, self) {
|
|||
that.$element.css({width: (self.options.width - 14) + 'px'});
|
||||
}
|
||||
})
|
||||
.attr({
|
||||
disabled: self.options.disabled,
|
||||
type: self.options.type == 'text' ? 'button' : 'image'
|
||||
})
|
||||
.addClass(
|
||||
'OxButton Ox' + Ox.toTitleCase(self.options.size)
|
||||
+ (self.options.disabled ? ' OxDisabled': '')
|
||||
|
@ -80,6 +76,10 @@ Ox.Button = function(options, self) {
|
|||
+ (self.options.style != 'default' ? ' Ox' + Ox.toTitleCase(self.options.style) : '')
|
||||
+ (self.options.overlap != 'none' ? ' OxOverlap' + Ox.toTitleCase(self.options.overlap) : '')
|
||||
)
|
||||
.attr({
|
||||
disabled: self.options.disabled,
|
||||
type: self.options.type == 'text' ? 'button' : 'image'
|
||||
})
|
||||
.css(self.options.width == 'auto' ? {} : {
|
||||
width: (self.options.width - 14) + 'px'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue