aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.slider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js
index e31e64545..098b6aae9 100644
--- a/ui/ui.slider.js
+++ b/ui/ui.slider.js
@@ -111,7 +111,7 @@ $.widget("ui.slider", {
})
.wrap('<a href="#" style="outline:none;border:none;"></a>')
.parent()
- .bind('click', function() { return false; })
+ .bind('click', function(e) { e.preventDefault(); })
.bind('focus', function(e) { self._focus(this.firstChild); })
.bind('blur', function(e) { self._blur(this.firstChild); })
.bind('keydown', function(e) { if(!self.options.noKeyboard) return self._keydown(e.keyCode, this.firstChild); })