This might be a little overzealous, but I think the outline around the entire flip switch looks better than the clipped handle outline.

This commit is contained in:
zachleat 2011-12-27 16:35:03 -06:00 committed by scottjehl
parent e19ee8d953
commit ebcf7a62c3

View file

@ -187,11 +187,11 @@ $.widget( "mobile.slider", $.mobile.widget, {
if( cType == 'select' ) {
this.handle.bind({
focus: function() {
( $.support.boxShadow ? slider : $( this ) ).addClass( $.mobile.focusClass );
slider.addClass( $.mobile.focusClass );
},
blur: function() {
( $.support.boxShadow ? slider : $( this ) ).removeClass( $.mobile.focusClass );
slider.removeClass( $.mobile.focusClass );
}
});
}