Skip to content

Commit

Permalink
Datepicker: Use .attr() for size.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jul 25, 2011
1 parent 510bb40 commit f59a3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.datepicker.js
Expand Up @@ -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);
}
},

Expand Down

0 comments on commit f59a3e9

Please sign in to comment.