File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ jobs:
21
21
- run : npm run build:umd
22
22
23
23
- run :
24
- name : Compatibility Test
25
- command : |
26
- if [ -z "$CIRCLE_PR_NUMBER" ]; then
27
- npm run test:compat
28
- fi
24
+ name : Compatibility Test
25
+ command : |
26
+ if [ -z "$CIRCLE_PR_NUMBER" ];
27
+ then
28
+ npm run test:compat
29
+ fi
29
30
- run : npm run test
30
31
31
32
- store_test_results :
Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ function MultiDragPlugin() {
580
580
}
581
581
582
582
function insertMultiDragElements ( clonesInserted , rootEl ) {
583
- multiDragElements . forEach ( multiDragElement => {
583
+ multiDragElements . forEach ( ( multiDragElement , i ) => {
584
584
let target = rootEl . children [ multiDragElement . sortableIndex + ( clonesInserted ? Number ( i ) : 0 ) ] ;
585
585
if ( target ) {
586
586
rootEl . insertBefore ( multiDragElement , target ) ;
@@ -596,7 +596,7 @@ function insertMultiDragElements(clonesInserted, rootEl) {
596
596
* @param {HTMLElement } rootEl
597
597
*/
598
598
function insertMultiDragClones ( elementsInserted , rootEl ) {
599
- multiDragClones . forEach ( clone => {
599
+ multiDragClones . forEach ( ( clone , i ) => {
600
600
let target = rootEl . children [ clone . sortableIndex + ( elementsInserted ? Number ( i ) : 0 ) ] ;
601
601
if ( target ) {
602
602
rootEl . insertBefore ( clone , target ) ;
You can’t perform that action at this time.
0 commit comments