Browse Source

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

Igor Vaynberg 13 năm trước cách đây
mục cha
commit
33fd9dc810
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {