Skip to content

Commit e29320e

Browse files
zachleatWilto
authored andcommitted
This might be a little overzealous, but I think the outline around the entire flip switch looks better than the clipped handle outline.
1 parent c4191d9 commit e29320e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.forms.slider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ $.widget( "mobile.slider", $.mobile.widget, {
185185
if( cType == 'select' ) {
186186
this.handle.bind({
187187
focus: function() {
188-
( $.support.boxShadow ? slider : $( this ) ).addClass( $.mobile.focusClass );
188+
slider.addClass( $.mobile.focusClass );
189189
},
190190

191191
blur: function() {
192-
( $.support.boxShadow ? slider : $( this ) ).removeClass( $.mobile.focusClass );
192+
slider.removeClass( $.mobile.focusClass );
193193
}
194194
});
195195
}

0 commit comments

Comments
 (0)