Index: branches/js2-work/phase3/js/mwEmbed/jquery/plugins/jquery.autocomplete.js |
— | — | @@ -337,8 +337,7 @@ |
338 | 338 | |
339 | 339 | function requestData(q) { |
340 | 340 | if (!options.matchCase) q = q.toLowerCase(); |
341 | | - //var data = options.cacheLength ? loadFromCache(q) : null; |
342 | | - var data=null; |
| 341 | + var data = options.cacheLength ? loadFromCache(q) : null; |
343 | 342 | // recieve the cached data |
344 | 343 | if (data) { |
345 | 344 | receiveData(q, data); |