Skip to content

Commit

Permalink
Fix accidental global
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbs committed Jun 11, 2012
1 parent aaf48d3 commit 0435cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.fastLiveFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jQuery.fn.fastLiveFilter = function(list, options) {
var filter = input.val().toLowerCase();
var li;
var numShown = 0;
for (i = 0; i < len; i++) {
for (var i = 0; i < len; i++) {
li = lis[i];
if ((li.textContent || li.innerText || "").toLowerCase().indexOf(filter) >= 0) {
if (li.style.display == "none") {
Expand Down

0 comments on commit 0435cb3

Please sign in to comment.