mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
slider: use preventDefault on click event on handle instead of returning false (see #3228)
This commit is contained in:
parent
f9a77723b6
commit
faec9388e2
@ -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); })
|
||||
|
Loading…
Reference in New Issue
Block a user