Skip to content
Permalink
Browse files

Fixed slider responds to keypresses when disabled

  • Loading branch information...
rdworth committed Oct 17, 2008
1 parent 25ad531 commit 829ce5f3996acb7ea85f03c58cad1eb223725d1e
Showing with 3 additions and 0 deletions.
  1. +3 −0 ui/ui.slider.js
@@ -155,6 +155,9 @@ $.widget("ui.slider", {
},

_keydown: function(keyCode, handle) {
if (this.options.disabled)
return;

var k = keyCode;
if(/(33|34|35|36|37|38|39|40)/.test(k)) {
var o = this.options, xpos, ypos;

0 comments on commit 829ce5f

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