Remove redundant call to removeChild.
appendChild already takes elements out of the old parent.
This commit is contained in:
parent
90873c648b
commit
c8ab3c22c9
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ function ingest_toolbox_items()
|
|||
var box = moreboxes[i];
|
||||
while (box.firstElementChild)
|
||||
{
|
||||
toolbox.appendChild(box.removeChild(box.firstElementChild));
|
||||
toolbox.appendChild(box.firstElementChild);
|
||||
}
|
||||
box.parentElement.removeChild(box);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue