Replace a reference to @container.id with @container_id
This commit is contained in:
parent
f89783e6f9
commit
49c7d2e0f6
2 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@
|
|||
return this.search_field.focus();
|
||||
};
|
||||
Chosen.prototype.test_active_click = function(evt) {
|
||||
if (evt.target.up('#' + this.container.id)) {
|
||||
if (evt.target.up('#' + this.container_id)) {
|
||||
return this.active_field = true;
|
||||
} else {
|
||||
return this.close_field();
|
||||
|
|
|
@ -164,7 +164,7 @@ class Chosen
|
|||
|
||||
|
||||
test_active_click: (evt) ->
|
||||
if evt.target.up('#' + @container.id)
|
||||
if evt.target.up('#' + @container_id)
|
||||
@active_field = true
|
||||
else
|
||||
this.close_field()
|
||||
|
|
Loading…
Reference in a new issue