Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Listview: make it possible to set option filter programmatically. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Nov 8, 2012
1 parent 82701e5 commit 5b537ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.listview.filter.js
Expand Up @@ -15,7 +15,7 @@ $.mobile.listview.prototype.options.filterCallback = function( text, searchValue
return text.toLowerCase().indexOf( searchValue ) === -1;
};

$( document ).delegate( ":jqmData(role='listview')", "listviewcreate", function() {
$( document ).delegate( "ul, ol", "listviewcreate", function() {

var list = $( this ),
listview = list.data( "listview" );
Expand Down

0 comments on commit 5b537ca

Please sign in to comment.