Skip to main content

Bug Tracker

Side navigation

Ticket #1784: ui.slider.patch


File ui.slider.patch, 0.5 KB (added by tuupola, October 08, 2007 01:22PM UTC)

Patch for requested feature.

--- ui.slider.js        (revision 3598)
+++ ui.slider.js        (working copy)
@@ -240,7 +240,7 @@
                                m = ((this.curValue)/o.realValue) * p;
                        }
                        
-                       if(that.interactions) {
+                        if(that.interactions && this.options.dontOverLap) {
                                nonvalidRange = that.nonvalidRange(this);
                                if(nonvalidRange) {
                                        this.curValue = nonvalidRange;

Download in other formats:

Original Format