mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Issue #1762: Removed extra iteration on list items
This commit is contained in:
parent
3ca8f35ca2
commit
c9abc368d8
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ $( ":jqmData(role='listview')" ).live( "listviewcreate", function() {
|
|||
childItems = false,
|
||||
itemtext="";
|
||||
|
||||
for (var i = listItems.length; i >= 0; i--) {
|
||||
for (var i = listItems.length - 1; i >= 0; i--) {
|
||||
item = $( listItems[i] );
|
||||
itemtext = item.jqmData( 'filtertext' ) || item.text();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue