Skip to content

Commit

Permalink
Fix issue w3c#515
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Oct 22, 2015
1 parent b6b539e commit 3b9b50e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/metricsgraphics.js
Expand Up @@ -2632,7 +2632,7 @@ MG.button_layout = function(target) {
if (displayArea) {
//if area already exists, transition it
if (!areas.empty()) {
svg.select('.mg-y-axis').node().parentNode.appendChild(areas.node());
svg.node().appendChild(areas.node());

areas
.transition()
Expand All @@ -2656,7 +2656,7 @@ MG.button_layout = function(target) {
var existing_line = svg.select('path.mg-main-line.mg-line' + (line_id) + '-color');
if (!existing_line.empty()) {
//$(svg.node()).find('.mg-y-axis').after($(existing_line.node()).detach());
svg.select('.mg-y-axis').node().parentNode.appendChild(existing_line.node());
svg.node().appendChild(existing_line.node());

var lineTransition = existing_line
.transition()
Expand Down

0 comments on commit 3b9b50e

Please sign in to comment.