Skip to content

Commit 1742820

Browse files
committed
removed dead code path in slider
1 parent c451609 commit 1742820

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

js/jquery.mobile.forms.slider.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,6 @@ $.widget( "mobile.slider", $.mobile.widget, {
307307
newval = max;
308308
}
309309

310-
// Flip the stack of the bg colors
311-
if ( percent > 60 && cType === "select" ) {
312-
// TODO: Dead path?
313-
}
314310
this.handle.css( "left", percent + "%" );
315311
this.handle.attr( {
316312
"aria-valuenow": cType === "input" ? newval : control.find( "option" ).eq( newval ).attr( "value" ),

0 commit comments

Comments
 (0)