Skip to content
Permalink
Browse files

Fixed #3804 (Multiple Slider Focus Issues)

  • Loading branch information
rdworth committed Feb 5, 2009
1 parent 65172cd commit 93fbdd41b301d8240f7138e03a2bac9d4d78ca24
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.slider.js
@@ -77,7 +77,7 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
this.handles.add(this.range).filter("a")
.click(function(event) { event.preventDefault(); })
.hover(function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); })
.focus(function() { self.handles.removeClass('ui-state-focus'); $(this).addClass('ui-state-focus'); })
.focus(function() { $(".ui-slider .ui-state-focus").removeClass('ui-state-focus'); $(this).addClass('ui-state-focus'); })
.blur(function() { $(this).removeClass('ui-state-focus'); });

this.handles.each(function(i) {

0 comments on commit 93fbdd4

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