We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca0e9f commit 6cd5084Copy full SHA for 6cd5084
src/gridstack.js
@@ -177,7 +177,7 @@
177
var collisionNode = _.find(this.nodes, _.bind(function(n) {
178
return Utils.isIntercepted(n, nn);
179
}, this));
180
- return collisionNode === null;
+ return collisionNode === null || typeof collisionNode === 'undefined';
181
};
182
183
GridStackEngine.prototype._sortNodes = function(dir) {
0 commit comments