2
0
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:
Lane Roberts 2012-09-05 10:33:16 -05:00
parent f6babc4d46
commit 2853cf689e

View File

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