coding standards

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1512 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-09-28 06:48:27 +00:00
parent cf7920ea11
commit 0565566118

View File

@@ -354,8 +354,7 @@ OpenLayers.Map.prototype = {
if (newBaseLayer != this.baseLayer) {
// is newBaseLayer an already loaded layer?
var foundLayer = (this.layers.indexOf(newBaseLayer) != -1);
if (foundLayer) {
if (this.layers.indexOf(newBaseLayer) != -1) {
// make the old base layer invisible
if (this.baseLayer != null) {