From 2853cf689efb2995cbf00ee74436475bef612b91 Mon Sep 17 00:00:00 2001 From: Lane Roberts Date: Wed, 5 Sep 2012 10:33:16 -0500 Subject: [PATCH] Keep s,d in correct scope --- src/jquery.autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.autocomplete.js b/src/jquery.autocomplete.js index da94f65..407ed23 100644 --- a/src/jquery.autocomplete.js +++ b/src/jquery.autocomplete.js @@ -362,8 +362,8 @@ var selectedValue, fn, me; me = this; selectedValue = this.suggestions[i]; + var s, d; if (selectedValue) { - var s, d; s = me.suggestions[i]; d = me.data[i]; me.el.val(me.getValue(s));