diff options
Diffstat (limited to 'ui/ui.slider.js')
-rw-r--r-- | ui/ui.slider.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index ed0644a30..a6473fe19 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -72,18 +72,18 @@ $.widget("ui.slider", { // Bind the click to the slider itself this.element.bind('mousedown.slider', function(event) { - + if($(event.target).is('.ui-slider-handle')) return; - + //Go to the actual clicked posiion, apply a click self._click.apply(self, [event]); - + //initiate a handle drag, so we can click+drag somewhere self.currentHandle.data("mouse").trigger(event); - + //This is for always triggering the change event self.firstValue = self.firstValue + 1; - + }); // Move the first handle to the startValue |