mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-04 04:44:42 +00:00
removed commented code from refactor
This commit is contained in:
parent
23807769ac
commit
0cdd401f3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue