From a0f067c2b20708630a54730b44d4dcca0d687459 Mon Sep 17 00:00:00 2001 From: Aziz Gazanchiyan Date: Sun, 17 Jun 2012 15:38:00 +0300 Subject: [PATCH] Clear placeholder before opening dropdown, fixes #129 Signed-off-by: Igor Vaynberg --- select2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/select2.js b/select2.js index 7921aa90..c73534f5 100755 --- a/select2.js +++ b/select2.js @@ -683,6 +683,7 @@ open: function () { if (this.opened()) return; + this.clearPlaceholder(); this.container.addClass("select2-dropdown-open").addClass("select2-container-active"); this.dropdown.detach().appendTo(this.opts.element.parents("body")).addClass("select2-drop-active");