From be25e420e6f6132f1a2cdb852570148b289b38da Mon Sep 17 00:00:00 2001 From: Artem Garbin Date: Wed, 20 Sep 2017 01:11:36 +0300 Subject: [PATCH] #757 Fixed returning of an array of actually changed widgets --- src/gridstack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gridstack.js b/src/gridstack.js index 518942def..ca32e2577 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -283,7 +283,7 @@ if (!canBeMoved) { break; } - n._dirty = n.y != newY; + n._dirty = n._origY != newY; n.y = newY; } }, this));