Permalink
Browse files

Fixed an issue when region styles were improperly set

  • Loading branch information...
1 parent 0287edc commit a88f56feaea134446139d6dae122a42ff641cb61 @bjornd committed Sep 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/world-map.js
View
2 lib/world-map.js
@@ -600,7 +600,7 @@ jvm.WorldMap.prototype = {
region = this.canvas.addPath({
d: this.mapData.paths[key].path,
"data-code": key
- }, jvm.$.extend({}, this.params.regionStyle));
+ }, jvm.$.extend(true, {}, this.params.regionStyle));
jvm.$(region.node).bind('selected', function(e, isSelected){
map.container.trigger('regionSelected.jvectormap', [jvm.$(this).attr('data-code'), isSelected, map.getSelectedRegions()]);
});

0 comments on commit a88f56f

Please sign in to comment.