Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
This commit is contained in:
@@ -169,7 +169,7 @@ TabListView.prototype = {
|
||||
_clearChilden(node) {
|
||||
let parent = node || this.container;
|
||||
while (parent.firstChild) {
|
||||
parent.removeChild(parent.firstChild);
|
||||
parent.firstChild.remove();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user