diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 5cc262f270..3e583cfa5f 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -378,8 +378,8 @@ OpenLayers.Layer.Grid.prototype = for(var iCol=0; iCol < row.length; iCol++) { row[iCol].destroy(); } - this.grid = []; } + this.grid = []; } },