From 3c2d7f7310c5323827069eab6be1d7a0243dfc0c Mon Sep 17 00:00:00 2001 From: markwellna Date: Wed, 28 Aug 2013 12:59:10 -0400 Subject: [PATCH] Clicking outside of dropdown removes select2-container-active class. Closes #1661. --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 815d04bb..14206b97 100644 --- a/select2.js +++ b/select2.js @@ -1321,7 +1321,7 @@ the specific language governing permissions and limitations under the Apache Lic $("#select2-drop-mask").hide(); this.dropdown.removeAttr("id"); // only the active dropdown has the select2-drop id this.dropdown.hide(); - this.container.removeClass("select2-dropdown-open"); + this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"); this.results.empty();