1
0
Fork 0
forked from 0x2620/oxjs

fixing css

This commit is contained in:
Rolux 2010-02-19 20:25:10 +05:30
commit 001dd19126
3 changed files with 9 additions and 8 deletions

View file

@ -1705,7 +1705,7 @@ requires
}
function callback(items) {
var selected = -1;
var selected = items.length == 1 ? 0 : -1;
if (items.length) {
items = $.map(items, function(title, position) {
if (that.$input.val().toLowerCase() == Ox.stripTags(title.toLowerCase())) {
@ -1820,8 +1820,8 @@ requires
that.width = function(value) {
that.$element.width(value);
that.$input.width(value - 2 - self.options.labelWidth -
(self.options.placeholder.length > 1) * 21 -
self.options.clear * 21);
(self.options.placeholder.length > 1) * 26 -
self.options.clear * 15);
return that;
}