Skip to content

Commit

Permalink
Merge pull request speced#357 from dandehavilland/fix/clip-path
Browse files Browse the repository at this point in the history
Setting id on the clip-path
  • Loading branch information
almossawi committed Feb 11, 2015
2 parents 72e6ddd + 16f5700 commit f7a3430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/common/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function init(args) {
svg.append('defs')
.attr('class', 'mg-clip-path')
.append('clipPath')
.attr('class', 'mg-plot-window-' + mg_strip_punctuation(args.target))
.attr('id', 'mg-plot-window-' + mg_strip_punctuation(args.target))
.append('svg:rect')
.attr('x', args.left)
.attr('y', args.top)
Expand All @@ -99,7 +99,7 @@ function init(args) {

// remove missing class
svg.classed('mg-missing', false);

// remove missing text
svg.selectAll('.mg-missing-text').remove();
svg.selectAll('.mg-missing-pane').remove();
Expand Down

0 comments on commit f7a3430

Please sign in to comment.