Merge pull request #1667 from duckinator/master
Clicking outside of dropdown should remove select2-container-active class.
This commit is contained in:
commit
92f173c1ab
@ -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();
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user