Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed dead code path in slider

  • Loading branch information...
commit 1742820c177e07b117ea3da2c57d14a80938a042 1 parent c451609
@johnbender johnbender authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 js/jquery.mobile.forms.slider.js
View
4 js/jquery.mobile.forms.slider.js
@@ -307,10 +307,6 @@ $.widget( "mobile.slider", $.mobile.widget, {
newval = max;
}
- // Flip the stack of the bg colors
- if ( percent > 60 && cType === "select" ) {
- // TODO: Dead path?
- }
this.handle.css( "left", percent + "%" );
this.handle.attr( {
"aria-valuenow": cType === "input" ? newval : control.find( "option" ).eq( newval ).attr( "value" ),
Please sign in to comment.
Something went wrong with that request. Please try again.