Skip to content

Commit

Permalink
Fixed invalid variable name issue
Browse files Browse the repository at this point in the history
Bug indicated in MasterMaps#7
  • Loading branch information
NullSoldier committed Aug 15, 2014
1 parent baddb00 commit ed7a2f8
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 @@ -192,7 +192,7 @@ d3.slider = function module() {
// Move slider handle on click/drag
function moveHandle(pos) {

var newValue = stepValue(scale.invert(pos / containerSize())),
var newValue = stepValue(scale.invert(pos / sliderLength)),
currentValue = value.length ? value[active - 1]: value;

if (currentValue !== newValue) {
Expand Down

0 comments on commit ed7a2f8

Please sign in to comment.