From 5455b1599f438310146acb3f2190335b852280cb Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 21 May 2012 09:55:56 -0400 Subject: Resizable, Slider: Don't use .hover(). --- ui/jquery.ui.slider.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ui/jquery.ui.slider.js') 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() { -- cgit v1.2.3