Skip to content

Commit

Permalink
fix #373
Browse files Browse the repository at this point in the history
  • Loading branch information
troolee committed Mar 2, 2016
1 parent e4fecff commit 92d7e51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gridstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@
return $.extend({}, n);
}));

if (typeof clonedNode === 'undefined') {
return true;
}

clone.moveNode(clonedNode, x, y, width, height);

var res = true;
Expand Down

0 comments on commit 92d7e51

Please sign in to comment.