Fix focus issues caused by bad indenting.
This commit is contained in:
parent
fecd7e24a5
commit
a723721b65
|
@ -141,6 +141,7 @@
|
||||||
Chosen.prototype.container_click = function(evt) {
|
Chosen.prototype.container_click = function(evt) {
|
||||||
if (evt && evt.type === "click") {
|
if (evt && evt.type === "click") {
|
||||||
evt.stop();
|
evt.stop();
|
||||||
|
}
|
||||||
if (!this.pending_destroy_click) {
|
if (!this.pending_destroy_click) {
|
||||||
if (!this.active_field) {
|
if (!this.active_field) {
|
||||||
if (this.is_multiple) {
|
if (this.is_multiple) {
|
||||||
|
@ -155,7 +156,6 @@
|
||||||
} else {
|
} else {
|
||||||
return this.pending_destroy_click = false;
|
return this.pending_destroy_click = false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
Chosen.prototype.mouse_enter = function() {
|
Chosen.prototype.mouse_enter = function() {
|
||||||
return this.mouse_on_container = true;
|
return this.mouse_on_container = true;
|
||||||
|
|
Loading…
Reference in a new issue