Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7efabdf

Browse files
committed
update gridstack.js
1 parent c992f3f commit 7efabdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gridstack.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@
359359
};
360360

361361
GridStackEngine.prototype.end_update = function () {
362+
_.each(this.nodes, function (n) {
363+
n._orig_y = n.y;
364+
});
362365
var n = _.find(this.nodes, function (n) { return n._updating; });
363366
if (n) {
364367
n._updating = false;

0 commit comments

Comments
 (0)