From 7efabdf1ab8d22c97778d4d227b828068884a6d9 Mon Sep 17 00:00:00 2001 From: Pavel Reznikov Date: Thu, 12 Mar 2015 19:56:45 -0700 Subject: [PATCH] update gridstack.js --- gridstack.js | 3 +++ 1 file changed, 3 insertions(+) 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;