aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortzkuei <ting@kuei.com>2010-07-06 05:50:44 +0800
committerScott González <scott.gonzalez@gmail.com>2010-07-06 20:17:31 +0800
commit92b7722fffc68dbb124e5b171cd0169f95da241b (patch)
tree88d8ca0a615f8f16e9bd0ba791bac992f8f1888c
parent0bbbe5f5b1ca98dd4713064c08e908dc7b2a5ede (diff)
downloadjquery-ui-92b7722fffc68dbb124e5b171cd0169f95da241b.tar.gz
jquery-ui-92b7722fffc68dbb124e5b171cd0169f95da241b.zip
Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant call to _normValueFromMouse
-rw-r--r--ui/jquery.ui.slider.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js
index 71b52ce37..006372ee8 100644
--- a/ui/jquery.ui.slider.js
+++ b/ui/jquery.ui.slider.js
@@ -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;