coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1512 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
1 parent
cf7920ea11
commit
0565566118
1 file changed
+1
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user