Skip to content

Commit 92d7e51

Browse files
committed
fix #373
1 parent e4fecff commit 92d7e51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gridstack.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@
367367
return $.extend({}, n);
368368
}));
369369

370+
if (typeof clonedNode === 'undefined') {
371+
return true;
372+
}
373+
370374
clone.moveNode(clonedNode, x, y, width, height);
371375

372376
var res = true;

0 commit comments

Comments
 (0)