diff --git a/gridstack.js b/gridstack.js index e5af6b7..88f9604 100644 --- a/gridstack.js +++ b/gridstack.js @@ -359,6 +359,9 @@ }; GridStackEngine.prototype.end_update = function () { + _.each(this.nodes, function (n) { + n._orig_y = n.y; + }); var n = _.find(this.nodes, function (n) { return n._updating; }); if (n) { n._updating = false;