]> source.dussan.org Git - jquery-ui.git/commitdiff
slider: fixed translateRange - axis parameter was missing (closes #2862)
authorPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 27 May 2008 11:19:23 +0000 (11:19 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 27 May 2008 11:19:23 +0000 (11:19 +0000)
ui/source/ui.slider.js

index 19f6247c4099d683e046ef33a30cc851893f7315..5d2d60cdefa67986838ada741679c005ff4ccf74 100644 (file)
                                if (this.currentHandle[0] == this.handle[0] && value >= this.translateValue(this.value(1),axis))\r
                                        value = this.translateValue(this.value(1,axis) - this.oneStep(axis), axis);\r
                                if (this.currentHandle[0] == this.handle[1] && value <= this.translateValue(this.value(0),axis))\r
-                                       value = this.translateValue(this.value(0,axis) + this.oneStep(axis));\r
+                                       value = this.translateValue(this.value(0,axis) + this.oneStep(axis), axis);\r
                        }\r
                        if (this.options.handles) {\r
                                var handle = this.options.handles[this.handleIndex()];\r