Skip to content

Commit 720e9d3

Browse files
committed
Slider: Cleanup public methods
1 parent 30d431b commit 720e9d3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ui/jquery.ui.spinner.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,20 +359,18 @@ $.widget('ui.spinner', {
359359

360360
stepUp: function(steps) {
361361
this._spin((steps || 1) * this.options.step, null);
362-
return this;
363362
},
364363

365364
stepDown: function(steps) {
366365
this._spin((steps || 1) * -this.options.step, null);
367-
return this;
368366
},
369367

370368
pageUp: function(pages) {
371-
return this.stepUp((pages || 1) * pageModifier);
369+
this.stepUp((pages || 1) * pageModifier);
372370
},
373371

374372
pageDown: function(pages) {
375-
return this.stepDown((pages || 1) * pageModifier);
373+
this.stepDown((pages || 1) * pageModifier);
376374
},
377375

378376
value: function(newVal) {

0 commit comments

Comments
 (0)