Skip to content
Browse files

Make last row removal consistent with other rows

  • Loading branch information...
1 parent 7deff9b commit d5d1c49b0868aa428bc8eb75cbc47cdf9e0ecd98 @kriszyp committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 List.js
View
2 List.js
@@ -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){

0 comments on commit d5d1c49

Please sign in to comment.
Something went wrong with that request. Please try again.