Skip to content

Commit

Permalink
Prevent duplicate params with a different case
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van den Eijnden committed Feb 6, 2015
1 parent 00b8ab6 commit 9c26405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mapstory/MapConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exports.MapConfig = function() {
for (var key in params) {
if (angular.isArray(params[key])) {
params[key.toUpperCase()] = params[key].join(',');
delete params[key];
}
}
layerConfig.url = layer.args[1];
Expand Down

0 comments on commit 9c26405

Please sign in to comment.