1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Clicking outside of dropdown removes select2-container-active class.

Closes #1661.
This commit is contained in:
markwellna 2013-08-28 12:59:10 -04:00
parent c4529b8700
commit 3c2d7f7310

View File

@ -1321,7 +1321,7 @@ the specific language governing permissions and limitations under the Apache Lic
$("#select2-drop-mask").hide(); $("#select2-drop-mask").hide();
this.dropdown.removeAttr("id"); // only the active dropdown has the select2-drop id this.dropdown.removeAttr("id"); // only the active dropdown has the select2-drop id
this.dropdown.hide(); this.dropdown.hide();
this.container.removeClass("select2-dropdown-open"); this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active");
this.results.empty(); this.results.empty();