mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
slider: implemented option "noKeyboard" to disable keyboard controls.
This commit is contained in:
parent
956656bc2a
commit
320e7a560d
@ -111,7 +111,7 @@
|
||||
.parent()
|
||||
.bind('focus', function(e) { self.focus(this.firstChild); })
|
||||
.bind('blur', function(e) { self.blur(this.firstChild); })
|
||||
.bind('keydown', function(e) { self.keydown(e.keyCode, this.firstChild); })
|
||||
.bind('keydown', function(e) { if(!self.options.noKeyboard) self.keydown(e.keyCode, this.firstChild); })
|
||||
;
|
||||
|
||||
// Bind the click to the slider itself
|
||||
|
Loading…
Reference in New Issue
Block a user