1
0
mirror of synced 2024-11-26 14:56:07 +03:00

improve placeholder management. fixes #712

This commit is contained in:
Igor Vaynberg 2013-02-05 15:02:43 -08:00
parent df2aaa0cfc
commit 81a0e2610a

View File

@ -2020,7 +2020,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.search.bind("blur", this.bind(function(e) {
this.container.removeClass("select2-container-active");
this.search.removeClass("select2-focused");
this.clearSearch();
if (!this.opened()) this.clearSearch();
e.stopImmediatePropagation();
}));