Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Set selectedRegions to null in example. An empty array triggers string errors in line 253 of jquery.vmap.js
  • Loading branch information
Kenshino committed Mar 24, 2016
1 parent a53a51e commit a89597c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jQuery('#vmap').vectorMap(
normalizeFunction: 'linear',
scaleColors: ['#b6d6ff', '#005ace'],
selectedColor: '#c9dfaf',
selectedRegions: [],
selectedRegions: null,
showTooltip: true,
onRegionClick: function(element, code, region)
{
Expand Down

0 comments on commit a89597c

Please sign in to comment.