fix for selectable buttons

This commit is contained in:
rolux 2012-12-29 00:51:46 +01:00
parent cadfb47010
commit 5ef888b638

View file

@ -146,8 +146,8 @@ Ox.Button = function(options, self) {
'symbol' + self.options.title[0].toUpperCase()
+ self.options.title.slice(1),
self.options.disabled ? 'disabled'
: self.options.selected ? 'selected'
: 'default'
: self.options.selectable && self.options.value ? 'selected'
: ''
)
});
} else {