diff --git a/src/gridstack.js b/src/gridstack.js index 39d250a..f660de6 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -233,6 +233,7 @@ var newY = n.y; while (newY >= n._origY) { var collisionNode = _.chain(this.nodes) + .take(i) .find(_.bind(Utils._didCollide, {n: n, newY: newY})) .value();