]> source.dussan.org Git - jquery-ui.git/commitdiff
Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant...
authortzkuei <ting@kuei.com>
Mon, 5 Jul 2010 21:50:44 +0000 (05:50 +0800)
committerScott González <scott.gonzalez@gmail.com>
Tue, 6 Jul 2010 12:17:31 +0000 (20:17 +0800)
ui/jquery.ui.slider.js

index 71b52ce37d75fdef4a587d215ec2bf725f5bcf44..006372ee8d75ae28215dd7e4546c1e4cdad1a7a2 100644 (file)
@@ -310,7 +310,6 @@ $.widget( "ui.slider", $.ui.mouse, {
                                ( parseInt( closestHandle.css("marginTop"), 10 ) || 0)
                };
 
-               normValue = this._normValueFromMouse( position );
                this._slide( event, index, normValue );
                this._animateOff = true;
                return true;