Skip to content
Permalink
Browse files

slider: use preventDefault on click event on handle instead of return…

…ing false (see #3228)
  • Loading branch information...
Paul Bakaus
Paul Bakaus committed Sep 19, 2008
1 parent f9a7772 commit faec9388e2f9890e33c368b459ab164eda019e62
Showing with 1 addition and 1 deletion.
  1. +1 −1 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); })

0 comments on commit faec938

Please sign in to comment.
You can’t perform that action at this time.