From cbde344ad04522f77f4855f59d601d0a923e56bc Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 15 Aug 2006 15:38:26 +0000 Subject: [PATCH] Add non-stringified condition, courtesy of tschaub pointing out the error of my ways :) git-svn-id: http://svn.openlayers.org/trunk/openlayers@1218 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WMS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index 0bf43022ae..cfd7f173c9 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -48,7 +48,7 @@ OpenLayers.Layer.WMS.prototype = ); } - this.isBaseLayer = (this.params.TRANSPARENT != "true"); + this.isBaseLayer = (this.params.TRANSPARENT != "true" && this.params.TRANSPARENT != true); }, /**