Skip to content

Commit

Permalink
currentBasemap should not be set prior to updating the basemap.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgee committed Apr 11, 2016
1 parent e7ac203 commit 4f6a94b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion viewer/js/gis/dijit/Basemaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ define([
startup: function () {
this.inherited(arguments);
if (this.mapStartBasemap) {
this.currentBasemap = this.mapStartBasemap;
if (this.map.getBasemap() !== this.mapStartBasemap) {
this.updateBasemap(this.mapStartBasemap);
}
Expand Down

0 comments on commit 4f6a94b

Please sign in to comment.