Remove experimental code that accidentally got checked in.
This commit is contained in:
parent
1fff4788eb
commit
09798e3b5f
10
select2.js
10
select2.js
@ -610,7 +610,7 @@
|
||||
var matches = attrs[i].replace(/\s/g,'')
|
||||
.match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/);
|
||||
if(matches != null && matches.length >= 1)
|
||||
return matches[1];
|
||||
return matches[1];
|
||||
}
|
||||
return this.opts.element.width();
|
||||
};
|
||||
@ -825,14 +825,6 @@
|
||||
this.search.val("");
|
||||
};
|
||||
|
||||
SingleSelect2.prototype.alignDropdown = function () {
|
||||
this.parent.alignDropdown.apply(this,arguments);
|
||||
this.results.css({
|
||||
'margin-top': this.search.height()
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
function MultiSelect2(opts) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user