mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-28 23:48:15 +00:00
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:
parent
e19ee8d953
commit
ebcf7a62c3
1 changed files with 2 additions and 2 deletions
|
|
@ -187,11 +187,11 @@ $.widget( "mobile.slider", $.mobile.widget, {
|
||||||
if( cType == 'select' ) {
|
if( cType == 'select' ) {
|
||||||
this.handle.bind({
|
this.handle.bind({
|
||||||
focus: function() {
|
focus: function() {
|
||||||
( $.support.boxShadow ? slider : $( this ) ).addClass( $.mobile.focusClass );
|
slider.addClass( $.mobile.focusClass );
|
||||||
},
|
},
|
||||||
|
|
||||||
blur: function() {
|
blur: function() {
|
||||||
( $.support.boxShadow ? slider : $( this ) ).removeClass( $.mobile.focusClass );
|
slider.removeClass( $.mobile.focusClass );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue