update gridstack.js

This commit is contained in:
Pavel Reznikov 2014-12-05 20:34:22 -08:00
commit fdbe96eda8

View file

@ -82,6 +82,8 @@
}
else {
_.each(this.nodes, function (n, i) {
if (n.locked)
return;
while (n.y > 0) {
var new_y = n.y - 1;
var can_be_moved = i == 0;