Permalink
Browse files

fix typo.

  • Loading branch information...
1 parent 528387f commit aa908031e2465d5dfbc112a025b72d69f0c62d14 @aaronm67 aaronm67 committed Nov 13, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/jquery.autocomplete.js
@@ -519,13 +519,13 @@
onSelect: function (i, originalEvent) {
var me = this,
callback = me.options.onSelect,
- sugestion = me.suggestions[i],
+ suggestion = me.suggestions[i],
data = me.data[i];
- me.el.val(me.getValue(sugestion));
+ me.el.val(me.getValue(suggestion));
if ($.isFunction(callback)) {
- callback(sugestion, originalEvent);
+ callback(suggestion, originalEvent);
}
},

0 comments on commit aa90803

Please sign in to comment.