removed commented code from refactor

This commit is contained in:
John Bender 2011-01-24 23:54:22 -08:00
parent 23807769ac
commit 0cdd401f3a

View file

@ -111,7 +111,7 @@ $.widget( "mobile.slider", $.mobile.widget, {
//tap occurred, but value didn't change. flip it!
self.refresh( self.beforeStart === 0 ? 1 : 0 );
}
var curval = val(); //(cType === "input") ? parseFloat(control.val()) : control[ 0 ].selectedIndex;
var curval = val();
var snapped = Math.round( curval / (max - min) * 100 );
handle
.addClass("ui-slider-handle-snapping")