Skip to content

Commit ab3b022

Browse files
authored
Merge pull request #1220 from adumesny/develop
fix typo
2 parents 3c23c93 + 4cf156b commit ab3b022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
// constrain the passed in values and check if we're still changing our node
652652
var resizing = (node.width !== width || node.height !== height);
653653
var nn = { x: x, y: y, width: width, height: height,
654-
maxWidth: node.maxWidth, maxHeight: NodeIterator.maxHeight, minWidth: node.minWidth, minHeight: node.minHeight};
654+
maxWidth: node.maxWidth, maxHeight: node.maxHeight, minWidth: node.minWidth, minHeight: node.minHeight};
655655
nn = this._prepareNode(nn, resizing);
656656
if (node.x === nn.x && node.y === nn.y && node.width === nn.width && node.height === nn.height) {
657657
return null;

0 commit comments

Comments
 (0)