Skip to content

Commit

Permalink
code correction for previous bug correction
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornet committed Sep 24, 2015
1 parent 26cf644 commit fea5a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ define([
scale:this.map.getScale()
};

//If WAB < 1.1, set extent from url on start (else, let WAB does it)
if(!wabVersion || parseFloat(wabVersion) < 1.1)
//If WAB < 1.1(official numerotation or 1.2 on code numerotation), set extent from url on start (else, let WAB does it)
if(!wabVersion || parseFloat(wabVersion) < 1.2)
this.setExtentFromURL();
},

Expand Down

0 comments on commit fea5a60

Please sign in to comment.