IE tries to modify dom elements when an undeclared variable is used in a statement and the name of that variable is the id of an element on the page (see 849).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4087 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-08-28 22:53:20 +00:00
parent 5b3221b8e3
commit 6acf9e75c5

View File

@@ -132,11 +132,11 @@
function test_Layer_Google_overlay(t) {
// Test for #849.
t.plan(1);
map = new OpenLayers.Map( 'map' ,
var map = new OpenLayers.Map( 'map' ,
{ controls: [] , 'numZoomLevels':20});
var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP, 'maxZoomLevel':18} );
layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",
var layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},
{isBaseLayer: false} );