Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant call to _normValueFromMouse

This commit is contained in:
tzkuei 2010-07-06 05:50:44 +08:00 committed by Scott González
parent 0bbbe5f5b1
commit 92b7722fff

View File

@ -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;