Ver Fonte

Remove experimental code that accidentally got checked in.

Justin DuJardin há 13 anos atrás
pai
commit
09798e3b5f
1 ficheiros alterados com 1 adições e 9 exclusões
  1. 1 9
      select2.js

+ 1 - 9
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) {
 
     }