Skip to content

Commit

Permalink
Fixed #3804 (Multiple Slider Focus Issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Feb 5, 2009
1 parent 65172cd commit 93fbdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ui.slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 93fbdd4

Please sign in to comment.