mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Slider: Cleanup public methods
This commit is contained in:
parent
30d431b08a
commit
720e9d383c
6
ui/jquery.ui.spinner.js
vendored
6
ui/jquery.ui.spinner.js
vendored
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user