Skip to content

Commit

Permalink
fix(browser_adapter): fix clearNodes() in IE
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Jul 29, 2015
1 parent 16e3d7e commit 6542f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/angular2/src/dom/browser_adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class BrowserDomAdapter extends GenericBrowserDomAdapter {
}
clearNodes(el) {
while (el.firstChild) {
el.firstChild.remove();
el.removeChild(el.firstChild);
}
}
appendChild(el, node) { el.appendChild(node); }
Expand Down

0 comments on commit 6542f57

Please sign in to comment.