浏览代码

another tweak for positioning of dropdown and scrollbars. fixes #228 again

Igor Vaynberg 13 年之前
父节点
当前提交
33fd9dc810
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -999,7 +999,7 @@
             function postRender() {
                 results.scrollTop(0);
                 search.removeClass("select2-active");
-                if (initial !== true) self.positionDropdown();
+                self.positionDropdown();
             }
 
             function render(html) {