Преглед изворни кода

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) {