#15262: Correct logic for cover tests.

This commit is contained in:
Tatiana Kiseleva 2020-12-18 07:12:54 +00:00
parent 204fcb1ce5
commit c234a2b24f

View File

@ -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