forked from 0x2620/oxjs
fixing css
This commit is contained in:
parent
ff8f286f77
commit
001dd19126
3 changed files with 9 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue