mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
slider: fixed translateRange - axis parameter was missing (closes #2862)
This commit is contained in:
parent
57c3bc5c1e
commit
ece0c9eb79
@ -247,7 +247,7 @@
|
|||||||
if (this.currentHandle[0] == this.handle[0] && value >= this.translateValue(this.value(1),axis))
|
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);
|
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))
|
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) {
|
if (this.options.handles) {
|
||||||
var handle = this.options.handles[this.handleIndex()];
|
var handle = this.options.handles[this.handleIndex()];
|
||||||
|
Loading…
Reference in New Issue
Block a user