mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
#15262: Correct logic for cover tests.
This commit is contained in:
parent
03ccd34361
commit
204fcb1ce5
@ -549,7 +549,7 @@ return $.widget( "ui.slider", $.ui.mouse, {
|
||||
var max = this.options.max,
|
||||
min = this._valueMin(),
|
||||
step = this.options.step,
|
||||
aboveMin = Math.floor( ( max - min ) / step ) * step;
|
||||
aboveMin = Math.round( ( max - min ) / step ) * step;
|
||||
max = aboveMin + min;
|
||||
|
||||
// Round the max before compare with max from option.
|
||||
|
Loading…
Reference in New Issue
Block a user