Skip to content

Commit

Permalink
Search for filters and filtered within the container. This means that…
Browse files Browse the repository at this point in the history
… sifter can be initialised detached from the DOM.
  • Loading branch information
DylanFM committed Sep 22, 2010
1 parent 3d50fc1 commit 18fa1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery.sifter.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@
function setup () {
// Store some key elements
container = $(this);
filteredList = $(opts.filteredList);
filterList = $(opts.filterList);
filteredList = container.find(opts.filteredList);
filterList = container.find(opts.filterList);
// Set up the plugins
// We're queueing these because it can get slow when dealing
// with a lot of data
Expand Down

0 comments on commit 18fa1c9

Please sign in to comment.