Skip to content

Commit e5cf704

Browse files
author
Gabriel Schulhof
committed
Slider: Use class ui-state-disabled for indicating the disabled state rather than the deprecated ui-disabled.
1 parent 33c0d47 commit e5cf704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/forms/slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ $.widget( "mobile.slider", $.extend( {
582582
_setDisabled: function( value ) {
583583
value = !!value;
584584
this.element.prop( "disabled", value );
585-
this.slider.toggleClass( "ui-disabled", value ).attr( "aria-disabled", value );
585+
this.slider.toggleClass( "ui-state-disabled" ).attr( "aria-disabled", value );
586586
}
587587

588588
}, $.mobile.behaviors.formReset ) );

0 commit comments

Comments
 (0)