Fix focus issues caused by bad indenting.

This commit is contained in:
Patrick Filler 2011-07-08 16:52:18 -04:00
parent fecd7e24a5
commit a723721b65
2 changed files with 22 additions and 22 deletions

View file

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