From b2314bcb862d02c47dad4ebc708ef684a3d8b6a3 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 18 Jun 2012 20:21:36 -0700 Subject: [PATCH] fix the fix for #129 --- select2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/select2.js b/select2.js index b34e1b06..56c42c3a 100755 --- a/select2.js +++ b/select2.js @@ -685,7 +685,6 @@ open: function () { if (this.opened()) return; - this.clearPlaceholder(); this.container.addClass("select2-dropdown-open").addClass("select2-container-active"); if(this.dropdown[0] !== this.body.children().last()[0]) { @@ -1394,7 +1393,8 @@ open: function () { if (this.opened()) return; this.parent.open.apply(this, arguments); - this.resizeSearch(); + this.clearPlaceholder(); + this.resizeSearch(); this.focusSearch(); },