From 4cf156b0e3ed1b18b91862b39796ca8b70e46c42 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Mon, 16 Mar 2020 10:13:59 -0700 Subject: [PATCH] fix typo * which I found while working on typescript branch (wish we would switch sooner and avoid errors like these and many) --- src/gridstack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gridstack.js b/src/gridstack.js index 246a6f10f..4da2cf574 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -651,7 +651,7 @@ // constrain the passed in values and check if we're still changing our node var resizing = (node.width !== width || node.height !== height); var nn = { x: x, y: y, width: width, height: height, - maxWidth: node.maxWidth, maxHeight: NodeIterator.maxHeight, minWidth: node.minWidth, minHeight: node.minHeight}; + maxWidth: node.maxWidth, maxHeight: node.maxHeight, minWidth: node.minWidth, minHeight: node.minHeight}; nn = this._prepareNode(nn, resizing); if (node.x === nn.x && node.y === nn.y && node.width === nn.width && node.height === nn.height) { return null;