From 09798e3b5ff4a156e230ebd1de0dce4d59fded1c Mon Sep 17 00:00:00 2001 From: Justin DuJardin Date: Wed, 28 Mar 2012 13:05:02 -0700 Subject: [PATCH] Remove experimental code that accidentally got checked in. --- select2.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/select2.js b/select2.js index 81b9c50f..67d74937 100755 --- a/select2.js +++ b/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) { }