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