Explorar o código

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

Igor Vaynberg %!s(int64=13) %!d(string=hai) anos
pai
achega
33fd9dc810
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {