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

Merge pull request #1667 from duckinator/master

Clicking outside of dropdown should remove select2-container-active class.
This commit is contained in:
Igor Vaynberg 2013-08-28 23:11:37 -07:00
commit 92f173c1ab

View File

@ -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();