diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-28 15:43:32 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-28 15:43:32 +0000 |
commit | 95c6c6dd62684c388590087b97001bd67ce46a07 (patch) | |
tree | b21f02b8f9e57fd35072f345edf4b96644db7d05 /ui/ui.slider.js | |
parent | 91232f6ed53abdc2e2d36929a5129f9a7d8069b9 (diff) | |
download | jquery-ui-95c6c6dd62684c388590087b97001bd67ce46a07.tar.gz jquery-ui-95c6c6dd62684c388590087b97001bd67ce46a07.zip |
Source formatting
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 |