mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant call to _normValueFromMouse
This commit is contained in:
parent
0bbbe5f5b1
commit
92b7722fff
1
ui/jquery.ui.slider.js
vendored
1
ui/jquery.ui.slider.js
vendored
@ -310,7 +310,6 @@ $.widget( "ui.slider", $.ui.mouse, {
|
|||||||
( parseInt( closestHandle.css("marginTop"), 10 ) || 0)
|
( parseInt( closestHandle.css("marginTop"), 10 ) || 0)
|
||||||
};
|
};
|
||||||
|
|
||||||
normValue = this._normValueFromMouse( position );
|
|
||||||
this._slide( event, index, normValue );
|
this._slide( event, index, normValue );
|
||||||
this._animateOff = true;
|
this._animateOff = true;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user