diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index c4b3dd571d..91d4247cbc 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -46,7 +46,7 @@ OpenLayers.Layer.WMS.prototype = } // unless explicitly set in options, if the layer is transparent, - // it will be an overlay + // it will be an overlay if ((options == null) || (options.isBaseLayer == null)) { this.isBaseLayer = ((this.params.TRANSPARENT != "true") && (this.params.TRANSPARENT != true)); diff --git a/lib/OpenLayers/Layer/WMS/Untiled.js b/lib/OpenLayers/Layer/WMS/Untiled.js index bb0f211f7d..03ccd56e53 100644 --- a/lib/OpenLayers/Layer/WMS/Untiled.js +++ b/lib/OpenLayers/Layer/WMS/Untiled.js @@ -52,7 +52,7 @@ OpenLayers.Layer.WMS.Untiled.prototype = // unless explicitly set in options, if the layer is transparent, // it will be an overlay - if ((options == null) ||(options.isBaseLayer == null)) { + if ((options == null) || (options.isBaseLayer == null)) { this.isBaseLayer = ((this.params.TRANSPARENT != "true") && (this.params.TRANSPARENT != true)); }