hotfix clear button css issue

This commit is contained in:
rolux 2014-06-06 15:38:15 +03:00
parent 36e4919138
commit 28f221ef47

View file

@ -260,7 +260,9 @@ Ox.Input = function(options, self) {
if (self.options.clear) {
self.$button = Ox.Button({
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',
tooltip: self.options.clearTooltip,
type: 'image'