Fixing a fatal typo.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user