mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-29 08:14:06 +00:00
Keep s,d in correct scope
This commit is contained in:
parent
f6babc4d46
commit
2853cf689e
@ -362,8 +362,8 @@
|
|||||||
var selectedValue, fn, me;
|
var selectedValue, fn, me;
|
||||||
me = this;
|
me = this;
|
||||||
selectedValue = this.suggestions[i];
|
selectedValue = this.suggestions[i];
|
||||||
|
var s, d;
|
||||||
if (selectedValue) {
|
if (selectedValue) {
|
||||||
var s, d;
|
|
||||||
s = me.suggestions[i];
|
s = me.suggestions[i];
|
||||||
d = me.data[i];
|
d = me.data[i];
|
||||||
me.el.val(me.getValue(s));
|
me.el.val(me.getValue(s));
|
||||||
|
Loading…
Reference in New Issue
Block a user