Ver código fonte

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

Igor Vaynberg 13 anos atrás
pai
commit
33fd9dc810
1 arquivos alterados com 1 adições e 1 exclusões
  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) {