aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-10-26 12:56:40 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-10-26 12:56:40 +0200
commit720e9d383c3f1385da425e18bc6932f31dce1ebb (patch)
tree72b37718c497dcff3b83f10d94af7d49c0308334 /ui/jquery.ui.spinner.js
parent30d431b08a86e92db817985c34f5f2bb7d0274c2 (diff)
downloadjquery-ui-720e9d383c3f1385da425e18bc6932f31dce1ebb.tar.gz
jquery-ui-720e9d383c3f1385da425e18bc6932f31dce1ebb.zip
Slider: Cleanup public methods
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) {