Commit 5685c245 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! render positionGraph result without reloading the page.

parent 3f4295e3
......@@ -170,13 +170,13 @@
var top = Math.floor(pos.top * (canvas_size_y - size_y)) + "px";
var left = Math.floor(pos.left * (canvas_size_x - size_x)) + "px";
priv.updateElementCoordinate(node, {
top: top,
left: left,
top: top,
left: left,
});
$('#'+node).css('top', top);
$('#'+node).css('left', left);
jsPlumb.repaintEverything();
$('#'+node).css('top', top);
$('#'+node).css('left', left);
});
jsPlumb.repaintEverything();
}
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment