Skip to content
Permalink
Browse files

slider: fixed translateRange - axis parameter was missing (closes #2862)

  • Loading branch information
Paul Bakaus
Paul Bakaus committed May 27, 2008
1 parent 57c3bc5 commit ece0c9eb79ec84fd84a59b3f22372d5f26db5df0
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/source/ui.slider.js
@@ -247,7 +247,7 @@
if (this.currentHandle[0] == this.handle[0] && value >= this.translateValue(this.value(1),axis))
value = this.translateValue(this.value(1,axis) - this.oneStep(axis), axis);
if (this.currentHandle[0] == this.handle[1] && value <= this.translateValue(this.value(0),axis))
value = this.translateValue(this.value(0,axis) + this.oneStep(axis));
value = this.translateValue(this.value(0,axis) + this.oneStep(axis), axis);
}
if (this.options.handles) {
var handle = this.options.handles[this.handleIndex()];

0 comments on commit ece0c9e

Please sign in to comment.
You can’t perform that action at this time.