Fixed issue with this
not being defined
This commit is contained in:
parent
a45071d0ea
commit
b1b32bfcf8
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@
|
||||||
}
|
}
|
||||||
return this.options.query(this.input.val(), function(data) {
|
return this.options.query(this.input.val(), function(data) {
|
||||||
return this.options.callback(data);
|
return this.options.callback(data);
|
||||||
});
|
}.bind(this));
|
||||||
}, 250);
|
}.bind(this), 250);
|
||||||
} else {
|
} else {
|
||||||
return this.filter(this.input.val());
|
return this.filter(this.input.val());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue