r3016 committed - refactor
Revision: 3016
Author: rdworth
Date: Fri Jul 31 05:53:04 2009
Log: refactor
http://code.google.com/p/jquery-ui/source/detail?r=3016
Modified:
/branches/dev/spinner/ui/ui.spinner.js
=======================================
--- /branches/dev/spinner/ui/ui.spinner.js Fri Jul 31 05:48:53 2009
+++ /branches/dev/spinner/ui/ui.spinner.js Fri Jul 31 05:53:04 2009
@@ -328,7 +328,7 @@
}
this._format(newVal);
- this.element.parents('.' + this.widgetBaseClass
+ ':first').attr('aria-valuenow', this.value());
+ this.uiSpinner && this.uiSpinner.attr('aria-valuenow', this.value());
},
_setData: function(key, value) {
$.widget.prototype._setData.call(this, key, value);