Skip to content

Commit

Permalink
Merge pull request #9 from sumant86/patch-1
Browse files Browse the repository at this point in the history
Update d3.slider.js
  • Loading branch information
turban committed Aug 16, 2014
2 parents 72d8ff0 + 233fd7a commit 1ffc11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d3.slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ d3.slider = function module() {
// Horizontal axis
if (orientation === "horizontal") {

svg.style("left", -margin + "px");
svg.style("margin-left", -margin + "px");

svg.attr({
width: sliderLength + margin * 2,
Expand Down

0 comments on commit 1ffc11c

Please sign in to comment.