diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 09:55:56 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 09:55:56 -0400 |
commit | 5455b1599f438310146acb3f2190335b852280cb (patch) | |
tree | 1d94e177d3a1c46e2f1a96529904893a7b8d79fd /ui/jquery.ui.slider.js | |
parent | eccd622a4de377d0e4f6f1ed73c1afd8f4fb6964 (diff) | |
download | jquery-ui-5455b1599f438310146acb3f2190335b852280cb.tar.gz jquery-ui-5455b1599f438310146acb3f2190335b852280cb.zip |
Resizable, Slider: Don't use .hover().
Diffstat (limited to 'ui/jquery.ui.slider.js')
-rw-r--r-- | ui/jquery.ui.slider.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js index accd3e189..c302bfe8b 100644 --- a/ui/jquery.ui.slider.js +++ b/ui/jquery.ui.slider.js @@ -90,11 +90,12 @@ $.widget( "ui.slider", $.ui.mouse, { .click(function( event ) { event.preventDefault(); }) - .hover(function() { + .mouseenter(function() { if ( !o.disabled ) { $( this ).addClass( "ui-state-hover" ); } - }, function() { + }) + .mouseleave(function() { $( this ).removeClass( "ui-state-hover" ); }) .focus(function() { |