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
204fcb1ce5
commit
c234a2b24f
@ -556,7 +556,7 @@ return $.widget( "ui.slider", $.ui.mouse, {
|
||||
max = parseFloat( max.toFixed( this._precision() ) );
|
||||
var optionMax = parseFloat( this.options.max.toFixed( this._precision() ) );
|
||||
|
||||
if ( this.options.includeMax ) {
|
||||
if ( this.options.includeMax && this.options.includeMax === true) {
|
||||
if ( max < optionMax ) {
|
||||
|
||||
// If max is not divisible by step and max from options
|
||||
|
Loading…
Reference in New Issue
Block a user