Skip to content

Commit

Permalink
Remove row list items in reverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Jan 9, 2024
1 parent a7efd4d commit 8ea41f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/js/get-dart/download_archive.dart.js
Original file line number Diff line number Diff line change
Expand Up @@ -7661,7 +7661,7 @@ p.RE()
case 1:return A.y(q,r)}})
return A.D($async$aU,r)},
Ur(){var s,r=this.c.rows
for(s=1;s<r.length;++s)r.item(s).remove()},
for(s=r.length-1;s>0;--s)r.item(s).remove()},
RE(){var s,r=this.d.selectedOptions.item(0).getAttribute("value"),q=this.e.selectedOptions.item(0).getAttribute("value"),p=this.c,o=p.querySelectorAll("tr[data-version]"),n=r==="all"
if(n&&q==="all")A.F4(o,new A.aU())
else{A.F4(o,new A.Yy())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class VersionSelector {
final rowsToRemove = _table.rows;

// Remove all rows but the header row.
for (var rowIndex = 1; rowIndex < rowsToRemove.length; rowIndex += 1) {
for (var rowIndex = rowsToRemove.length - 1; rowIndex > 0; rowIndex -= 1) {
rowsToRemove.item(rowIndex)!.remove();
}
}
Expand Down

0 comments on commit 8ea41f5

Please sign in to comment.