Opened 6 years ago

Closed 6 years ago

Last modified 6 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:


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 6 years ago by scottgonzalez

  • Milestone set to 1.9
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 92b7722. Thanks tzkuei.

comment:3 Changed 6 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.3

comment:4 Changed 6 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.