aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-07-25 11:13:54 -0400
committerScott González <scott.gonzalez@gmail.com>2011-07-25 11:13:54 -0400
commitf59a3e91e31379663983377f9dbd682e7bc67834 (patch)
tree83a0de86ff1bd5ce891bd5f1e798d10159c13183
parent510bb40cab3966dde2ca97f10f82c6a165558d40 (diff)
downloadjquery-ui-f59a3e91e31379663983377f9dbd682e7bc67834.tar.gz
jquery-ui-f59a3e91e31379663983377f9dbd682e7bc67834.zip
Datepicker: Use .attr() for size.
-rw-r--r--ui/jquery.ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index bf42f0411..aa42c972e 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -254,7 +254,7 @@ $.extend(Datepicker.prototype, {
date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
'dayNames' : 'dayNamesShort'))) + 20 - date.getDay());
}
- inst.input.prop('size', this._formatDate(inst, date).length);
+ inst.input.attr('size', this._formatDate(inst, date).length);
}
},