aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-02-05 05:25:12 +0000
committerRichard Worth <rdworth@gmail.com>2009-02-05 05:25:12 +0000
commit93fbdd41b301d8240f7138e03a2bac9d4d78ca24 (patch)
tree3d2a8341f0bc297e7c581a7120d2bf49e9bfa76e /ui
parent65172cdeb21e940d43db3707a6469db944557704 (diff)
downloadjquery-ui-93fbdd41b301d8240f7138e03a2bac9d4d78ca24.tar.gz
jquery-ui-93fbdd41b301d8240f7138e03a2bac9d4d78ca24.zip
Fixed #3804 (Multiple Slider Focus Issues)
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.slider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js
index f30365368..f96767b49 100644
--- a/ui/ui.slider.js
+++ b/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) {