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.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index 29772904b..9597efb73 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -359,20 +359,18 @@ $.widget('ui.spinner', {
stepUp: function(steps) {
this._spin((steps || 1) * this.options.step, null);
- return this;
},
stepDown: function(steps) {
this._spin((steps || 1) * -this.options.step, null);
- return this;
},
pageUp: function(pages) {
- return this.stepUp((pages || 1) * pageModifier);
+ this.stepUp((pages || 1) * pageModifier);
},
pageDown: function(pages) {
- return this.stepDown((pages || 1) * pageModifier);
+ this.stepDown((pages || 1) * pageModifier);
},
value: function(newVal) {