hotfix clear button css issue
This commit is contained in:
parent
36e4919138
commit
28f221ef47
1 changed files with 3 additions and 1 deletions
|
@ -260,7 +260,9 @@ Ox.Input = function(options, self) {
|
||||||
if (self.options.clear) {
|
if (self.options.clear) {
|
||||||
self.$button = Ox.Button({
|
self.$button = Ox.Button({
|
||||||
overlap: 'left',
|
overlap: 'left',
|
||||||
style: self.options.style,
|
// FIXME: should always be self.options.style, but there
|
||||||
|
// is a CSS bug for rounded image buttons
|
||||||
|
style: self.options.style == 'squared' ? 'squared' : '',
|
||||||
title: 'close',
|
title: 'close',
|
||||||
tooltip: self.options.clearTooltip,
|
tooltip: self.options.clearTooltip,
|
||||||
type: 'image'
|
type: 'image'
|
||||||
|
|
Loading…
Reference in a new issue