diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 7bac9118..a2e51ea0 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -2944,7 +2944,10 @@ this.gridmap[col] = []; } - this.gridmap[col][row] = false; + if (this.gridmap[col].length <= row) { + this.gridmap[col][row] = false; + } + this.faux_grid.push(coords); return this;