diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 72f5f5468f..010f05c83f 100644 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -2350,6 +2350,10 @@ original_row: row }).coords(); + if (!$.isArray(this.gridmap[col])) { + this.gridmap[col] = []; + } + this.gridmap[col][row] = false; this.faux_grid.push(coords);