Skip to content
Snippets Groups Projects
Commit 440130c2 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Autocomplete var rename bug fix.

parent 0a702672
No related merge requests found
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
function createList(fulldata, input) { function createList(fulldata, input) {
// Limit results // Limit results
var data = fulldata.slice(0, Math.min(options.maxResults, data.length)); var data = fulldata.slice(0, Math.min(options.maxResults, fulldata.length));
input.data('length', data.length); input.data('length', data.length);
// highlighting setup // highlighting setup
// escape term for regex - https://github.com/sindresorhus/escape-string-regexp/blob/master/index.js // escape term for regex - https://github.com/sindresorhus/escape-string-regexp/blob/master/index.js
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment