Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
enabling slider causes it to toggle disabled #6857
i'm new to js, so please be kind if i'm doing something wrong, but both of these seem to toggle disabled instead of setting it to false:
I believe the issue is here: https://github.com/jquery/jquery-mobile/blob/1.4.0/js/widgets/forms/slider.js#L584 where value is not passed to toggleClass
Thank you for submitting this issue please see our contributing guidelines https://github.com/jquery/jquery-mobile/blob/master/CONTRIBUTING.md and create a jsbin test page illustrating the issue. For now i'm going to close this as incomplete but will reopen when more information is provided.
toggle disabled instead of setting it to false:
Steps to reproduce
Create a disabled slider.
It is enabled and stays enabled.
Disabled is toggled.
Platforms/browsers (including version) and devices tested
Firefox 26 on Debian Jessie
jQuery Mobile and jQuery core version used
1.4.0 & 1.9.1
Other relevant information, e.g. using PhoneGap
JQuery Mobile is cool!