Skip to content

Commit c234a2b

Browse files
committed
#15262: Correct logic for cover tests.
1 parent 204fcb1 commit c234a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/widgets/slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ return $.widget( "ui.slider", $.ui.mouse, {
556556
max = parseFloat( max.toFixed( this._precision() ) );
557557
var optionMax = parseFloat( this.options.max.toFixed( this._precision() ) );
558558

559-
if ( this.options.includeMax ) {
559+
if ( this.options.includeMax && this.options.includeMax === true) {
560560
if ( max < optionMax ) {
561561

562562
// If max is not divisible by step and max from options

0 commit comments

Comments
 (0)