aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.slider.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-14 15:07:06 -0400
committerScott González <scott.gonzalez@gmail.com>2013-03-14 15:07:06 -0400
commit23771d38ba9d2663f6db0243c8e992dc7ff6844a (patch)
tree6345e5bf4901f23f2d0bf59b7a1d37743db37921 /ui/jquery.ui.slider.js
parent38fce3f30478bcfce8ea837d850f63b5560d605a (diff)
downloadjquery-ui-23771d38ba9d2663f6db0243c8e992dc7ff6844a.tar.gz
jquery-ui-23771d38ba9d2663f6db0243c8e992dc7ff6844a.zip
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
Diffstat (limited to 'ui/jquery.ui.slider.js')
-rw-r--r--ui/jquery.ui.slider.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js
index 88281240d..b3e609aa2 100644
--- a/ui/jquery.ui.slider.js
+++ b/ui/jquery.ui.slider.js
@@ -427,11 +427,7 @@ $.widget( "ui.slider", $.ui.mouse, {
valsLength = this.options.values.length;
}
- if ( key === "disabled" ) {
- this.element.toggleClass( "ui-state-disabled", !!value );
- }
-
- this._super( key, value );
+ $.Widget.prototype._setOption.apply( this, arguments );
switch ( key ) {
case "orientation":