Skip to content

Commit

Permalink
dont try and remove logo twice
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravois committed Nov 1, 2015
1 parent 7bb4cc7 commit 8e75cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/BasemapLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
},
onRemove: function(map){
// check to make sure the logo hasn't already been removed
if(this._logo && this._logo._container){
if(!map._hasEsriLogo && this._logo && this._logo._container){
map.removeControl(this._logo);
map._hasEsriLogo = false;
}
Expand Down

0 comments on commit 8e75cf2

Please sign in to comment.