From 8efce712713963555caeab819cd4a565b362fc49 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sat, 28 Jan 2012 23:35:56 +0100 Subject: [PATCH] Fixing a fatal typo. --- lib/OpenLayers/Layer/Grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 4a8fdf79bc..fdffa7106b 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -415,7 +415,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { */ unqueueTile: function(tile) { for (var i=this.tileQueue.length-1; i>=0; --i) { - if (this.tileQueue[i].tile === tile) { + if (this.tileQueue[i] === tile) { this.tileQueue.splice(i, 1); } }