Skip to content

Commit

Permalink
Make last row removal consistent with other rows
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Sep 17, 2012
1 parent 7deff9b commit d5d1c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion List.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ function(arrayUtil, kernel, declare, listen, has, miscUtil, TouchScroll, hasClas
firstRow = row.nextSibling;
if(firstRow){ // it's possible for this to have been already removed if it is in overlapping query results
firstRow.rowIndex--; // adjust the rowIndex so adjustRowIndices has the right starting point
self.removeRow(row); // now remove
}
self.removeRow(row); // now remove
}
// the removal of rows could cause us to need to page in more items
if(self._processScroll){
Expand Down

0 comments on commit d5d1c49

Please sign in to comment.