Skip to content

Commit 904797a

Browse files
committed
Changed naming of initial value property
1 parent 9fb9826 commit 904797a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $(function(){
22
$("#dial").dial({
33
min: 0,
44
max: 100,
5-
default: 50,
5+
value: 50,
66
unitsPerPixel: 0.25,
77

88
imageWidth: 36,

jquery.ui.dial.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
options: {
1919
min: -100,
2020
max: 100,
21-
default: 0,
21+
value: 0,
2222
unitsPerPixel: 1,
2323

2424
numImages: 10,
2525
imageWidth: 32
2626
},
2727

2828
_create: function() {
29-
this._value = this.options.default;
29+
this._value = this.options.value;
3030
this._origValue = this._value;
3131

3232
var self = this;

0 commit comments

Comments
 (0)