Browse Source

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

Igor Vaynberg 13 years ago
parent
commit
33fd9dc810
1 changed files with 1 additions and 1 deletions
  1. 1 1
      select2.js

+ 1 - 1
select2.js

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