Slider will check for disabled state on every event now rather than only at its initialization.
* @fires Slider#changed
*/
_setHandlePos($hndl, location, noInvert, cb) {
- //might need to alter that slightly for bars that will have odd number selections.
+ // don't move if the slider has been disabled since its initialization
+ if (this.options.disabled || this.$element.hasClass(this.options.disabledClass)) {
+ return;
+ }
+ //might need to alter that slightly for bars that will have odd number selections.
location = parseFloat(location);//on input change events, convert string to number...grumble.
// prevent slider from running out of bounds, if value exceeds the limits set through options, override the value to min/max