Ticket #5796 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:2 Changed 4 years ago by scott.gonzalez

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

Fixed in  92b7722. Thanks tzkuei.

comment:3 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.3

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