Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.

This commit is contained in:
Florian Quèze
2017-03-08 10:17:52 +01:00
parent a97d317f5b
commit b15de4893d
125 changed files with 185 additions and 170 deletions

View File

@@ -169,7 +169,7 @@ TabListView.prototype = {
_clearChilden(node) {
let parent = node || this.container;
while (parent.firstChild) {
parent.removeChild(parent.firstChild);
parent.firstChild.remove();
}
},