fix locked for not floating grid
This commit is contained in:
parent
057836984c
commit
f866de98c3
2
dist/gridstack.min.js
vendored
2
dist/gridstack.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -82,6 +82,8 @@
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
_.each(this.nodes, function (n, i) {
|
_.each(this.nodes, function (n, i) {
|
||||||
|
if (n.locked)
|
||||||
|
return;
|
||||||
while (n.y > 0) {
|
while (n.y > 0) {
|
||||||
var new_y = n.y - 1;
|
var new_y = n.y - 1;
|
||||||
var can_be_moved = i == 0;
|
var can_be_moved = i == 0;
|
||||||
|
|
Loading…
Reference in a new issue