aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/spinner.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-09-16 12:54:12 -0400
committerScott González <scott.gonzalez@gmail.com>2015-09-17 08:47:28 -0400
commite19d462f16f619dbc56824e00d5c409ccd677f8d (patch)
treee17de1040a8a689f3724915bd05b186c1af99353 /ui/widgets/spinner.js
parentafbcdbe47e46190529b4cf3a50753bae9606425c (diff)
downloadjquery-ui-e19d462f16f619dbc56824e00d5c409ccd677f8d.tar.gz
jquery-ui-e19d462f16f619dbc56824e00d5c409ccd677f8d.zip
All: Delegate to base `_getCreateOptions()`.
Ensures that any extensions to the base widget will be handled properly by individual widgets. Closes gh-1598
Diffstat (limited to 'ui/widgets/spinner.js')
-rw-r--r--ui/widgets/spinner.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/spinner.js b/ui/widgets/spinner.js
index 381c052bd..369e29bd7 100644
--- a/ui/widgets/spinner.js
+++ b/ui/widgets/spinner.js
@@ -104,8 +104,8 @@ $.widget( "ui.spinner", {
},
_getCreateOptions: function() {
- var options = {},
- element = this.element;
+ var options = this._super();
+ var element = this.element;
$.each( [ "min", "max", "step" ], function( i, option ) {
var value = element.attr( option );