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

Skip to content

Commit fdbe96e

Browse files
committed
update gridstack.js
1 parent fd786ce commit fdbe96e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gridstack.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@
8282
}
8383
else {
8484
_.each(this.nodes, function (n, i) {
85+
if (n.locked)
86+
return;
8587
while (n.y > 0) {
8688
var new_y = n.y - 1;
8789
var can_be_moved = i == 0;

0 commit comments

Comments
 (0)