Просмотр исходного кода

Remove experimental code that accidentally got checked in.

Justin DuJardin 13 лет назад
Родитель
Сommit
09798e3b5f
1 измененных файлов с 1 добавлено и 9 удалено
  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) {
 
     }