Skip to content

Commit b2314bc

Browse files
author
Igor Vaynberg
committed
fix the fix for select2#129
1 parent 9bf38c8 commit b2314bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

select2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,6 @@
685685

686686
open: function () {
687687
if (this.opened()) return;
688-
this.clearPlaceholder();
689688

690689
this.container.addClass("select2-dropdown-open").addClass("select2-container-active");
691690
if(this.dropdown[0] !== this.body.children().last()[0]) {
@@ -1394,7 +1393,8 @@
13941393
open: function () {
13951394
if (this.opened()) return;
13961395
this.parent.open.apply(this, arguments);
1397-
this.resizeSearch();
1396+
this.clearPlaceholder();
1397+
this.resizeSearch();
13981398
this.focusSearch();
13991399
},
14001400

0 commit comments

Comments
 (0)