diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-07-25 11:13:54 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-07-25 11:13:54 -0400 |
commit | f59a3e91e31379663983377f9dbd682e7bc67834 (patch) | |
tree | 83a0de86ff1bd5ce891bd5f1e798d10159c13183 | |
parent | 510bb40cab3966dde2ca97f10f82c6a165558d40 (diff) | |
download | jquery-ui-f59a3e91e31379663983377f9dbd682e7bc67834.tar.gz jquery-ui-f59a3e91e31379663983377f9dbd682e7bc67834.zip |
Datepicker: Use .attr() for size.
-rw-r--r-- | ui/jquery.ui.datepicker.js | 2 |
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); } }, |