Ticket #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: | |
| 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 3 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:4 Changed 2 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.


http://github.com/tzkuei/jquery-ui/blob/c575373d6075c697d69350c6e919e9e0624a7dce/ui/jquery.ui.slider.js