Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
bug: Repeater crashed in removeAll
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMitterer committed Jun 12, 2015
1 parent a2d83b1 commit 4d9e04a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/template/components/MaterialRepeat.dart
Expand Up @@ -162,9 +162,7 @@ class MaterialRepeat extends MdlTemplateComponent {

new Future(() {
_items.clear();
element.children.forEach((final dom.Element child) {
child.remove();
});
element.children.clear();
completer.complete();
});

Expand Down

0 comments on commit 4d9e04a

Please sign in to comment.