Remove unused variable
It is only set to empty then passed
This commit is contained in:
parent
db5ff5f311
commit
8b3f2a8685
|
@ -265,8 +265,7 @@ $.fn.autocomplete = function(options) {
|
|||
var prevChar = me.val().charAt(caretPosition - 1);
|
||||
if (!prevChar || /\s/.test(prevChar)) {
|
||||
completeStart = completeEnd = caretPosition;
|
||||
var term = "";
|
||||
updateAutoComplete(options.dataSource(term));
|
||||
updateAutoComplete(options.dataSource(""));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue