[OpenLayers-Commits] r12259 - trunk/openlayers/lib/OpenLayers/Tile

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Thu Aug 18 05:54:43 EDT 2011


Author: ahocevar
Date: 2011-08-18 02:54:42 -0700 (Thu, 18 Aug 2011)
New Revision: 12259

Modified:
   trunk/openlayers/lib/OpenLayers/Tile/BackBufferable.js
Log:
Using dereferenced variable. Non-functional change.

Modified: trunk/openlayers/lib/OpenLayers/Tile/BackBufferable.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Tile/BackBufferable.js	2011-08-18 09:41:14 UTC (rev 12258)
+++ trunk/openlayers/lib/OpenLayers/Tile/BackBufferable.js	2011-08-18 09:54:42 UTC (rev 12259)
@@ -131,7 +131,7 @@
             // (3) we don't have a tile available that we could use as buffer
             noTile = !(tile && tile.childNodes.length > 0),
             // (4) no backbuffer is displayed for a tile that's still loading
-            noBackBuffer = !data.tile && this.isLoading;            
+            noBackBuffer = !backBuffer && this.isLoading;            
         if (notNeeded || noParent || noTile || noBackBuffer) {
             this.setBackBufferData();
             return;



More information about the Commits mailing list