1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-05 15:16:06 +02:00
dustin71728 dd63cf94d5 fix: remove child from old parent when moving to new parent via addChild (#5702)
A child component may have been assigned to another
parent before assigning that child component to the
new parent via "addChild" method. In this case, the
original parent should remove the child then it can
be safely added back to the new parent. This commit
will keep the parent's "children_" and its DOM
element's child nodes in the consistent state.
2019-01-08 14:14:46 -05:00
..
2017-01-19 11:17:46 -05:00