Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#5796 closed bug (fixed)

Redundant call to _normValueFromMouse

Reported by: tzkuei Owned by:
Priority: minor Milestone: 1.8.3
Component: ui.slider Version: 1.8.2
Keywords: normValue, _normValueFromMouse Cc:
Blocked by: Blocking:

Description

In the _mouseCapture function in jquery.ui.slider.js, the second call to _normValueFromMouse(); is redundant.

See line 270:

normValue = this._normValueFromMouse( position );

and line 313:

normValue = this._normValueFromMouse( position );

Change History (4)

comment:2 Changed 13 years ago by Scott González

Milestone: 1.9
Resolution: fixed
Status: newclosed

Fixed in 92b7722. Thanks tzkuei.

comment:3 Changed 13 years ago by Scott González

Milestone: 1.91.8.3

comment:4 Changed 12 years ago by tzkuei

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

Changeset: 92b7722fffc68dbb124e5b171cd0169f95da241b

Note: See TracTickets for help on using tickets.