aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index 6004f0bc6..71f6a2332 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -287,7 +287,7 @@ $.widget( "ui.spinner", {
_setOption: function( key, value ) {
if ( key === "value" ) {
- return this._setOptionValue( value );
+ return this._value( value );
}
this._super( "_setOption", key, value );
@@ -303,14 +303,6 @@ $.widget( "ui.spinner", {
}
},
- _setOptionValue: function( value ) {
- var previous = this.options.value;
- this._value( value );
- if ( previous !== this.options.value ) {
- this._trigger( "change" );
- }
- },
-
_setOptions: modifier(function( options ) {
this._super( "_setOptions", options );
@@ -342,6 +334,7 @@ $.widget( "ui.spinner", {
_value: function( value ) {
this.options.value = this._trimValue( this._parse(value) );
this._format();
+ this._aria();
},
destroy: function() {