Skip to content

Commit 09798e3

Browse files
Remove experimental code that accidentally got checked in.
1 parent 1fff478 commit 09798e3

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

select2.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
var matches = attrs[i].replace(/\s/g,'')
611611
.match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/);
612612
if(matches != null && matches.length >= 1)
613-
return matches[1];
613+
return matches[1];
614614
}
615615
return this.opts.element.width();
616616
};
@@ -825,14 +825,6 @@
825825
this.search.val("");
826826
};
827827

828-
SingleSelect2.prototype.alignDropdown = function () {
829-
this.parent.alignDropdown.apply(this,arguments);
830-
this.results.css({
831-
'margin-top': this.search.height()
832-
});
833-
};
834-
835-
836828
function MultiSelect2(opts) {
837829

838830
}

0 commit comments

Comments
 (0)