(clonesInserted, rootEl)
| 597 | } |
| 598 | |
| 599 | function insertMultiDragElements(clonesInserted, rootEl) { |
| 600 | multiDragElements.forEach((multiDragElement, i) => { |
| 601 | let target = rootEl.children[multiDragElement.sortableIndex + (clonesInserted ? Number(i) : 0)]; |
| 602 | if (target) { |
| 603 | rootEl.insertBefore(multiDragElement, target); |
| 604 | } else { |
| 605 | rootEl.appendChild(multiDragElement); |
| 606 | } |
| 607 | }); |
| 608 | } |
| 609 | |
| 610 | /** |
| 611 | * Insert multi-drag clones |
no outgoing calls
no test coverage detected
searching dependent graphs…