Skip to content

Commit

Permalink
Merge pull request 10bestdesign#21 from jboelen/bugfix-ie8-no-display
Browse files Browse the repository at this point in the history
Fix for IE8 display issues
  • Loading branch information
manifestinteractive committed Jul 3, 2012
2 parents e264c4e + 8999de6 commit 8c8fbc0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions jqvmap/jquery.vmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,17 @@
path.setFill(this.color);
path.id = 'jqvmap' + map.index + '_' + key;
map.countries[key] = path;

jQuery(this.rootGroup).append(path);

path.setAttribute('class', 'jqvmap-region');
if (this.canvas.mode == 'svg')
{
path.setAttribute('class', 'jvectormap-region');
}
else
{
jQuery(path).addClass('jvectormap-region');
}

jQuery(this.rootGroup).append(path);

if(params.selectedRegion !== null)
{
Expand Down

0 comments on commit 8c8fbc0

Please sign in to comment.