minor changes in Ox.Editable

This commit is contained in:
rolux 2013-02-18 15:01:50 +05:30
parent 10328fc14b
commit c11a0b82b9

View file

@ -245,13 +245,19 @@ Ox.Editable = function(options, self) {
}
width = self.options.width || Ox.limit(width, self.minWidth, self.maxWidth);
self.$test.css({display: 'none'});
/*
that.css({
width: width + 'px',
height: height + 'px'
});
*/
self.$input.options({
width: width,
height: height
});
self.$input.find(self.options.type).css({
height: height + 'px',
width: width + 'px'
width: width + 'px',
height: height + 'px'
});
}