Skip to content
This repository
Browse code

Fix for issue 2346 - Flip toggle switches don't animate when tapped.

- Changed the target selector for ui-slider-handle-snapping from:

    div.ui-slider-handle-snapping

  to:

    a.ui-slider-handle-snapping

  to match the actual markup being generated.
  • Loading branch information...
commit a27f7d355f59f4aebef2465c5a3b7c95d1453d43 1 parent 6759aff
Kin Blas authored September 01, 2011
2  themes/default/jquery.mobile.forms.slider.css
@@ -16,7 +16,7 @@ a.ui-slider-handle .ui-btn-inner { padding-left: 0; padding-right: 0; }
16 16
 
17 17
 div.ui-slider-switch { height: 32px;  overflow: hidden; margin-left: 0; }
18 18
 div.ui-slider-inneroffset { margin-left: 50%; position: absolute; top: 1px; height: 100%; width: 50%; }
19  
-div.ui-slider-handle-snapping { -webkit-transition: left 100ms linear; }
  19
+a.ui-slider-handle-snapping { -webkit-transition: left 100ms linear; }
20 20
 div.ui-slider-labelbg { position: absolute; top:0; margin: 0; border-width: 0; }
21 21
 div.ui-slider-switch div.ui-slider-labelbg-a { width: 60%; height: 100%; left: 0; }
22 22
 div.ui-slider-switch div.ui-slider-labelbg-b { width: 60%; height: 100%; right: 0; }

0 notes on commit a27f7d3

Please sign in to comment.
Something went wrong with that request. Please try again.